class csEventQueue : public csBase This class represents a windowing system event queue
This class represents a windowing system event queue.Each application have its own event queue. Any component can manipulate event queue via its app field, since event queue can be reached through csApp::EventQueue() method (for example, to clear event queue (caution!) call app->EventQueue()->Clear()).
The implemented event queue is limited thread-safe. There are some primitive spinlocks acquired/released in critical sections.
volatile size_t evqHead
volatile size_t Length
volatile int SpinLock
csEventQueue(size_t iLength = DEF_EVENT_QUEUE_LENGTH)
virtual ~csEventQueue()
void Put(csEvent *Event)
csEvent* Get()
void Clear()
bool IsEmpty()
void Resize(size_t iLength)
inline void Lock()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de