NCBI C++ ToolKit
Classes | Macros | Typedefs
event_handler.hpp File Reference
#include <map>
#include <functional>
#include <corelib/ncbiexpt.hpp>
#include <corelib/ncbimtx.hpp>
#include <gui/utils/event.hpp>
+ Include dependency graph for event_handler.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SEvtMapEntry
 Command map entry. More...
 
struct  SEvtMap
 Command Map. More...
 
class  CEventHandler
 CEventHandler. More...
 
struct  CEventHandler::SPostRequest
 
class  CEventHandler::CPostQueue
 CPostQueue - singleton queue for asynchronous events all methods are synchronized. More...
 

Macros

#define DECLARE_EVENT_MAP()
 
#define BEGIN_EVENT_MAP(thisClass, baseClass)
 Begins definition of Command Map for CEventHandler-derived class. More...
 
#define END_EVENT_MAP()
 Ends definition of Command Map. More...
 
#define ON_EVENT(type, id, handler)   { ncbi::CEvent::eEvent_Message, typeid(type).name(), id, id, (FEventHandler) handler },
 
#define ON_EVENT_RANGE(type, id, id_last, handler)   { CEvent::eEvent_Message, typeid(type).name(), id, id_last, (FEventHandler) handler },
 

Typedefs

typedef int TCmdID
 
typedef void(CEventHandler::* FEventHandler) (CEvent *)
 event handler More...
 
Modified on Fri Sep 20 14:58:29 2024 by modify_doxy.py rev. 669887