Hydra 0.20
desktop::RunnableEvent Class Reference

#include <RunnableEvent.h>

Inheritance diagram for desktop::RunnableEvent:

List of all members.

Public Member Functions

virtual void run (void)=0

Static Public Member Functions

static int nextPriority (void)

Detailed Description

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.

Author:
Aleksander Demko

Member Function Documentation

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.

Author:
Aleksander Demko
virtual void desktop::RunnableEvent::run ( void  ) [pure virtual]

the run method that will be called by the customEvent handler

Implemented in desktop::RunnableEventFunction.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables