#include <PDG_EventQueue.h>
Definition at line 35 of file PDG_EventQueue.h.
PDG_EventQueue::PDG_EventQueue |
( |
bool |
background | ) |
|
Constructs a new event queue.
PDG_EventQueue::~PDG_EventQueue |
( |
| ) |
|
Emits an event immediately on the calling thread.
bool PDG_EventQueue::isConsolidateEvents |
( |
| ) |
const |
|
inline |
Returns whether or not the event queue attempts to consolidate consecutive events of the same type
Definition at line 94 of file PDG_EventQueue.h.
Queues an event that will eventually be dispatched by the background thread running in this event queue instance.
void PDG_EventQueue::setConsolidateEvents |
( |
bool |
consolidate | ) |
|
|
inline |
void PDG_EventQueue::terminate |
( |
| ) |
|
Terminates the queue, waits for the event thread to finish, and unsets the queue from all event emitters registered with this event queue instance.
Waits for all queued events to finish, and prevents new events from being added until that condition is reached. Blocks the caller. If an event emitter is passed into this function, it gets deregistered before unblocking the event queue.
Waits until the specified emitter is registered, to ensure that all events for that emitter have been flushed
The documentation for this class was generated from the following file: