SUMO - Simulation of Urban MObility
|
#include <MFXEventQue.h>
Public Member Functions | |
void | add (void *what) |
bool | empty () |
MFXEventQue () | |
void | pop () |
size_t | size () |
void * | top () |
~MFXEventQue () | |
Private Attributes | |
std::list< void * > | myEvents |
MFXMutex | myMutex |
Definition at line 37 of file MFXEventQue.h.
|
inline |
Definition at line 39 of file MFXEventQue.h.
|
inline |
Definition at line 40 of file MFXEventQue.h.
void MFXEventQue::add | ( | void * | what | ) |
Definition at line 57 of file MFXEventQue.cpp.
References MFXMutex::lock(), myEvents, myMutex, and MFXMutex::unlock().
Referenced by GUIRunThread::makeStep(), GUILoadThread::retrieveMessage(), GUIRunThread::retrieveMessage(), and GUILoadThread::submitEndAndCleanup().
bool MFXEventQue::empty | ( | ) |
Definition at line 74 of file MFXEventQue.cpp.
References MFXMutex::lock(), myMutex, size(), and MFXMutex::unlock().
Referenced by GUIApplicationWindow::eventOccured(), and GUIApplicationWindow::~GUIApplicationWindow().
void MFXEventQue::pop | ( | ) |
Definition at line 49 of file MFXEventQue.cpp.
References MFXMutex::lock(), myEvents, myMutex, and MFXMutex::unlock().
Referenced by GUIApplicationWindow::eventOccured(), and GUIApplicationWindow::~GUIApplicationWindow().
size_t MFXEventQue::size | ( | ) |
Definition at line 65 of file MFXEventQue.cpp.
References MFXMutex::lock(), myEvents, myMutex, and MFXMutex::unlock().
void * MFXEventQue::top | ( | ) |
Definition at line 39 of file MFXEventQue.cpp.
References MFXMutex::lock(), myEvents, myMutex, size(), and MFXMutex::unlock().
Referenced by GUIApplicationWindow::eventOccured(), and GUIApplicationWindow::~GUIApplicationWindow().
|
private |
|
private |