OpenMAMA C++ API
Wombat::MamaQueueEnqueueCallback Class Referenceabstract

Callback interface for the MamaQueue::setEnqueueCallback () method. More...

#include <MamaQueueEnqueueCallback.h>

Public Member Functions

virtual ~MamaQueueEnqueueCallback ()
 
virtual void onEventEnqueue (void *closure)=0
 Called whenever an event is enqueued to the event queue. More...
 

Detailed Description

Callback interface for the MamaQueue::setEnqueueCallback () method.

Constructor & Destructor Documentation

§ ~MamaQueueEnqueueCallback()

virtual Wombat::MamaQueueEnqueueCallback::~MamaQueueEnqueueCallback ( )
inlinevirtual

Member Function Documentation

§ onEventEnqueue()

virtual void Wombat::MamaQueueEnqueueCallback::onEventEnqueue ( void *  closure)
pure virtual

Called whenever an event is enqueued to the event queue.

LBM Bridge: NB! Users may not dispatch events from this method. The function is invoked from an LBM internal thread. Attempts to dispatch from here will result in a deadlock

Parameters
closureArbitrary user-supplied data passed to MamaQueue::setEnqueueCallback ();