BloombergLP::bdlmt::EventSchedulerEventHandle

Objects of this type refer to events in the EventScheduler API. They are convertible to const Event* references and may be used in any method that expects them.

Synopsis

Declared in <bdlmt_eventscheduler.h>

class EventSchedulerEventHandle;

Type Aliases

NameDescription
Event Defines a type alias for the opaque one-time event type.

Member Functions

NameDescription
EventSchedulerEventHandle [constructor]Constructors
~EventSchedulerEventHandle [destructor]Destroy this object and release the managed reference, if any.
operator= Copy the event reference from rhs.
release Release the reference (if any) held by this object.
operator bdlmt::EventSchedulerEventHandle::Event const* Return a "raw" pointer to the event managed by this handle, or 0 if this handle does not manage a reference.

Friends

NameDescription
BloombergLP::bdlmt::EventSchedulerThread-safe scheduler that dispatches callbacks on a worker thread.