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

Name
Event

Member Functions

NameDescription
EventSchedulerEventHandle [constructor]Constructors
~EventSchedulerEventHandle [destructor]Destroy this object and release the managed reference, if any.
operator= Release this handle's reference, if any; then make this handle refer to the same event as the specified rhs handle. Return a modifiable reference to this handle.
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::EventSchedulerThis class provides a thread-safe event scheduler that executes callbacks in a separate "dispatcher thread." start must be invoked to start dispatching the callbacks. stop pauses the dispatching of the callbacks without removing the pending events.