NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
CDiagConsoleList Class Reference

Search Toolkit Book for CDiagConsoleList

CDiagConsoleList. More...

#include <gui/framework/diag_console_list.hpp>

+ Inheritance diagram for CDiagConsoleList:
+ Collaboration diagram for CDiagConsoleList:

Public Types

enum  {
  eShowErrors = 1 , eShowWarnings = 2 , eShowInfo = 4 , eShowOther = 8 ,
  eShowFlags = 0x0F , eShowNCBI = 0x10 , eShowWxWdidgets = 0x20 , eShowNCBIWxWdidgets = 0x30 ,
  eShowAll = 0x3F
}
 
- Public Types inherited from CEventHandler
enum  EDispatch { eDispatch_SelfOnly , eDispatch_AllHandlers , eDispatch_FirstHandler , eDispatch_Default = eDispatch_AllHandlers }
 enum controlling dispatching strategies More...
 
enum  EPoolName {
  ePool_Default = 0 , ePool_Parent , ePool_Child , ePool_Sibling ,
  ePool_NextAvailable
}
 Identifiers for standard pools. More...
 
typedef vector< CEventHandler * > TListeners
 
typedef map< int, TListenersTPools
 
typedef list< AutoPtr< SPostRequest > > TPostRequests
 
typedef std::map< CEventHandler *, intTHandlerToCount
 
typedef void(* FOnPostCallback) ()
 

Public Member Functions

 CDiagConsoleList ()
 
 CDiagConsoleList (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxBORDER_NONE)
 
virtual ~CDiagConsoleList ()
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxBORDER_NONE)
 Creation. More...
 
size_t GetFilter () const
 
void SetFilter (size_t filter)
 
wxString GetItemRawMsg (long item) const
 
void OnContextMenu (wxContextMenuEvent &event)
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 
- Public Member Functions inherited from CEventHandler
 CEventHandler ()
 CEventHandler. More...
 
virtual ~CEventHandler ()
 
virtual void AddListener (CEventHandler *listener, int pool_name=ePool_Default)
 Add a listener. More...
 
virtual void RemoveListener (CEventHandler *listener)
 Remove a listener. More...
 
virtual void RemoveAllListeners (void)
 
virtual bool HasListener (CEventHandler *listener, int pool_name=ePool_Default) const
 returns "true" if the given listener belongs to the specified pool More...
 
virtual const TListenersGetListeners (int pool_name=ePool_Default) const
 returns a set of listeners fro the specified pool More...
 
virtual bool OnEvent (CEvent *evt)
 Processes en event. Returns "true" if event has been processed. More...
 
virtual bool Dispatch (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Dispatches an event to the listeners (but does not handle it). More...
 
virtual bool Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Sends an event synchronously. More...
 
virtual bool Send (CEvent *evt, int pool_name)
 
void Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)
 Handles an event asynchronously (process and/or dispatch). More...
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Protected Types

typedef deque< size_t > TItems
 

Protected Member Functions

virtual void AppendMenuItems (wxMenu &aMenu)
 
bool ShouldPropagateContextMenu () const
 
void x_OnNewItem (CEvent *)
 
void x_ReloadMessages ()
 
virtual int OnGetItemImage (long item) const
 
virtual wxString OnGetItemText (long item, long column) const
 
tuple< size_t, size_t > x_GetIndex (long item) const
 
- Protected Member Functions inherited from CEventHandler
virtual const SEvtMapGetEventMap () const
 
void x_DeclareDead ()
 Removes itself unavailable for async event delivery. More...
 
void x_AddListenerToPool (CEventHandler *listener, int pool_name)
 

Protected Attributes

size_t m_Filter
 
string m_RegPath
 
TItems m_Items
 
CDiagConsoleCache m_Cache
 
CFixGenericListCtrl m_FixGenericListCtrl
 
- Protected Attributes inherited from CEventHandler
TPools m_Pools
 

Private Member Functions

 DECLARE_EVENT_MAP ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CEventHandler
static bool HandlePostRequest ()
 
static void ClearPostQueue ()
 erases all events from the queue More...
 
static void DestroyPostQueue ()
 
- Static Protected Attributes inherited from CEventHandler
static const SEvtMap sm_EvtMap
 

Detailed Description

CDiagConsoleList.

Definition at line 90 of file diag_console_list.hpp.


The documentation for this class was generated from the following files:
Modified on Sat May 25 14:20:34 2024 by modify_doxy.py rev. 669887