REFERENCE MANUAL
#include <hps.h>
Public Member Functions | |
virtual void | Assign (EventNotifier const &in_that) |
EventNotifier () | |
EventNotifier (EventNotifier const &in_that) | |
EventNotifier (EventNotifier &&in_that) | |
Type | ObjectType () const |
EventNotifier & | operator= (EventNotifier &&in_that) |
EventNotifier & | operator= (EventNotifier const &in_that) |
Event::Status | Status () const |
void | Wait () const |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (Type in_mask) const |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The EventNotifier class is a smart pointer that is tied to an event object. It is a special type of control that is used for synchronizing with an event's completion.
EventNotifier::EventNotifier | ( | ) |
The default constructor creates an EventNotifier object not tied to any event.
EventNotifier::EventNotifier | ( | EventNotifier const & | in_that | ) |
The copy constructor creates a new EventNotifier that is tied to the same event as the source EventNotifier.
in_that | The source EventNotifier to copy. |
EventNotifier::EventNotifier | ( | EventNotifier && | in_that | ) |
The move constructor creates an EventNotifier by transferring the underlying impl of the rvalue reference to this Key thereby avoiding a copy and allocation.
in_that | An rvalue reference to an EventNotifier to take the impl from. |
|
virtual |
Share the underlying smart-pointer.
in_that | The source of the assignment. |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from Object.
EventNotifier& EventNotifier::operator= | ( | EventNotifier && | in_that | ) |
EventNotifier& EventNotifier::operator= | ( | EventNotifier const & | in_that | ) |
Share the smart-pointer.
in_that | The source of the assignment. |
Event::Status EventNotifier::Status | ( | ) | const |
Query the status of the event this notifier is tied to.
void EventNotifier::Wait | ( | ) | const |
Cause this thread to sleep until the event this notifier is tied to has been handled.