![]() |
VR-Forces 4.0.4 Class Documentation
|
The asynchronous event queue. More...

Public Member Functions | |
| void | initializeInThread () |
| This function should be called once in the thread which will execute these functions. | |
| virtual void | postEvent (const Event &signal) |
| Override the default add event, this function does nothing as asynchronous event queues do not communicate back to the main thread. | |
Secondary thread functions | |
| virtual void | processEvents () |
| this function should be called frequently in the thread's, usually in it's tick loop. | |
Static Public Member Functions | |
| static DtAsynchronousEventQueue * | findThisThreadEventQueue () |
| Return the asynchronous event queue for this thread. | |
Protected Member Functions | |
| DtAsynchronousEventQueue () | |
| Create and destroy asynchronous event queues the the MainEventQueue. | |
| ~DtAsynchronousEventQueue () | |
Main thread functions | |
| void | queueSharedEventList (SharedEventList sharedEvents) |
| This function is called by the DtMainEventQueue. | |
Protected Attributes | |
| DtLockedBufferedQueue < SharedEventList > | myQueuedLists |
Friends | |
| class | DtMainEventQueue |
The asynchronous event queue.
To create an asynchronous event queue the the makVrv::DtMainEventQueue class.
| makVrv::DtAsynchronousEventQueue::DtAsynchronousEventQueue | ( | ) | [protected] |
Create and destroy asynchronous event queues the the MainEventQueue.
| makVrv::DtAsynchronousEventQueue::~DtAsynchronousEventQueue | ( | ) | [protected] |
This function should be called once in the thread which will execute these functions.
| static DtAsynchronousEventQueue* makVrv::DtAsynchronousEventQueue::findThisThreadEventQueue | ( | ) | [static] |
Return the asynchronous event queue for this thread.
| virtual void makVrv::DtAsynchronousEventQueue::postEvent | ( | const Event & | signal | ) | [virtual] |
Override the default add event, this function does nothing as asynchronous event queues do not communicate back to the main thread.
Implements makVrv::DtEventQueueInterface.
| virtual void makVrv::DtAsynchronousEventQueue::processEvents | ( | ) | [virtual] |
this function should be called frequently in the thread's, usually in it's tick loop.
Implements makVrv::DtEventQueueInterface.
| void makVrv::DtAsynchronousEventQueue::queueSharedEventList | ( | SharedEventList | sharedEvents | ) | [protected] |
This function is called by the DtMainEventQueue.
friend class DtMainEventQueue [friend] |
DtLockedBufferedQueue< SharedEventList > makVrv::DtAsynchronousEventQueue::myQueuedLists [protected] |