#include <event_handler.hh>
Inheritance diagram for mpcl::event::TEventHandler< TEvent >:
Public Methods | |
virtual | ~TEventHandler (void) |
Destroys the instance. | |
virtual TEvent | pop (void) |
virtual void | push (const TEvent &rktSOURCE_EVENT) |
virtual bool | isEmpty (void) const |
Protected Types | |
typedef std::priority_queue< TEvent > | TPriorityQueue |
Event priotity queue type. | |
Protected Attributes | |
TPriorityQueue | tPriorityQueue |
Event priority queue. |
Definition at line 49 of file event_handler.hh.
|
Returns true if there is no events queued.
Reimplemented in mpcl::event::TThreadedEventHandler< TEvent >. Definition at line 102 of file event_handler.hh. References mpcl::event::TEventHandler< TEvent >::tPriorityQueue. |
|
Extracts next event (and removes from the queue).
Reimplemented in mpcl::event::TThreadedEventHandler< TEvent >. Definition at line 74 of file event_handler.hh. References mpcl::event::TEventHandler< TEvent >::tPriorityQueue. |
|
Pushes an event into the queue.
Reimplemented in mpcl::event::TThreadedEventHandler< TEvent >. Definition at line 86 of file event_handler.hh. References mpcl::event::TEventHandler< TEvent >::tPriorityQueue. |