#include <UEventsManager.h>
Public Member Functions | |
virtual | ~UEventDispatcher () |
Protected Member Functions | |
virtual void | mainLoop () |
UEventDispatcher () | |
Private Member Functions | |
virtual void | killCleanup () |
Private Attributes | |
UEvent * | _event |
std::vector< UEventsHandler * > | _handlers |
Friends | |
class | UEventsManager |
Definition at line 34 of file UEventsManager.h.
virtual UEventDispatcher::~UEventDispatcher | ( | ) | [virtual] |
UEventDispatcher::UEventDispatcher | ( | ) | [protected] |
virtual void UEventDispatcher::killCleanup | ( | ) | [private, virtual] |
virtual void UEventDispatcher::mainLoop | ( | ) | [protected, virtual] |
Pure virtual method mainLoop(). The inner loop of the thread. This method is called repetitively until the thread is killed. Note that if kill() is called in mainLoopBegin(), mainLoop() is not called, terminating immediately the thread.
Implements UThread.
friend class UEventsManager [friend] |
Definition at line 39 of file UEventsManager.h.
UEvent* UEventDispatcher::_event [private] |
Definition at line 48 of file UEventsManager.h.
std::vector<UEventsHandler*> UEventDispatcher::_handlers [private] |
Definition at line 49 of file UEventsManager.h.