Hydra 0.20
|
#include <RunnableEvent.h>
Public Member Functions | |
virtual void | run (void)=0 |
Static Public Member Functions | |
static int | nextPriority (void) |
This is the base class of events that have run methods. The run method will be run when the event is processed.
The receiver (a global instance RunnableEventProcessor) of these events has a customEvent() implementation that calls RunnableEvent::customEvent.
static int desktop::RunnableEvent::nextPriority | ( | void | ) | [static] |
Gets the next priority value in an always incrementing numeric sequence. Not mutex protected, call only in the main thread.
virtual void desktop::RunnableEvent::run | ( | void | ) | [pure virtual] |
the run method that will be called by the customEvent handler
Implemented in desktop::RunnableEventFunction.