|
| BasicDelayedEventQueue (DelayedEventQueueCallbacks *callbacks) |
|
virtual void | cancelAllDelayed () |
|
virtual void | cancelDelayed (const std::string &eventId) |
|
virtual std::shared_ptr< DelayedEventQueueImpl > | create (DelayedEventQueueCallbacks *callbacks) |
|
virtual Event | dequeue (size_t blockMs) |
|
virtual void | deserialize (const Data &data) |
|
virtual void | enqueue (const Event &event) |
|
virtual void | enqueueDelayed (const Event &event, size_t delayMs, const std::string &eventUUID) |
|
virtual void | reset () |
|
virtual Data | serialize () |
|
|
virtual std::shared_ptr< EventQueueImpl > | create () |
|
void | start () |
|
void | stop () |
|
|
static void | run (void *instance) |
|
static void | timerCallback (evutil_socket_t fd, short what, void *arg) |
|
|
std::map< std::string, callbackData > | _callbackData |
|
DelayedEventQueueCallbacks * | _callbacks |
|
struct event * | _dummyEvent |
|
struct event_base * | _eventLoop |
|
bool | _isStarted |
|
std::thread * | _thread |
|
std::condition_variable_any | _cond |
|
std::recursive_mutex | _mutex |
|
std::list< Event > | _queue |
|
void uscxml::BasicDelayedEventQueue::run |
( |
void * |
instance | ) |
|
|
staticprotected |
EVLOOP_NO_EXIT_ON_EMPTY was removed in libevent2.1 - we are using the event in the far future approach to get blocking behavior back (see comments in contructor)
The documentation for this class was generated from the following files: