Quick Links: |
#include <bdlmt_eventscheduler.h>
Public Types | |
typedef EventScheduler::Event | Event |
Public Member Functions | |
EventSchedulerEventHandle () | |
EventSchedulerEventHandle (const EventSchedulerEventHandle &original) | |
~EventSchedulerEventHandle () | |
EventSchedulerEventHandle & | operator= (const EventSchedulerEventHandle &rhs) |
void | release () |
operator const Event * () const | |
Friends | |
class | EventScheduler |
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.
See Component bdlmt_eventscheduler
bdlmt::EventSchedulerEventHandle::EventSchedulerEventHandle | ( | ) |
Create a new handle object that does not refer to an event.
bdlmt::EventSchedulerEventHandle::EventSchedulerEventHandle | ( | const EventSchedulerEventHandle & | original | ) |
Create a new handle object referring to the same event as the specified rhs
handle.
bdlmt::EventSchedulerEventHandle::~EventSchedulerEventHandle | ( | ) |
Destroy this object and release the managed reference, if any.
EventSchedulerEventHandle& bdlmt::EventSchedulerEventHandle::operator= | ( | const EventSchedulerEventHandle & | rhs | ) |
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.
void bdlmt::EventSchedulerEventHandle::release | ( | ) |
Release the reference (if any) held by this object.
bdlmt::EventSchedulerEventHandle::operator const Event * | ( | ) | const |
Return a "raw" pointer to the event managed by this handle, or 0 if this handle does not manage a reference.
friend class EventScheduler [friend] |