Classes Files

Wombat::MamaQueueEventCallback

More…

#include <MamaQueueEventCallback.h>

Public Functions

  Name
virtual ~MamaQueueEventCallback()
virtual void onEvent(MamaQueue & queue, void * closure) =0

Detailed Description

class Wombat::MamaQueueEventCallback;

Definition of the callback method for when a user added event fires. Concrete instances of this interface are registered with an event queue using the [MamaQueue.enqueueEvent()](classWombat_1_1MamaQueue.html#function-enqueueevent). Currently only support by Wombat Middleware.

Public Functions Documentation

function ~MamaQueueEventCallback

inline virtual ~MamaQueueEventCallback()

function onEvent

virtual void onEvent(
    MamaQueue & queue,
    void * closure
) =0

Parameters:

  • queue The MamaQueue on which the event was enqueued.
  • closure The user specified data associated with this event.

Invoked when a user event, added by [MamaQueue.enqueueEvent()](classWombat_1_1MamaQueue.html#function-enqueueevent) fires.


Updated on 2023-03-31 at 15:29:25 +0100