A handle of scheduled event. More...
#include <ndn-cxx/util/scheduler.hpp>
Public Member Functions | |
EventId () noexcept=default | |
Constructs an empty EventId. More... | |
EventId (std::nullptr_t) noexcept | |
Allow implicit conversion from nullptr. More... | |
void | cancel () const |
Cancel the operation. More... | |
operator bool () const noexcept | |
Determine whether the event is valid. More... | |
bool | operator!= (const EventId &other) const noexcept |
bool | operator== (const EventId &other) const noexcept |
Determine whether this and other refer to the same event, or are both empty/expired/cancelled. More... | |
void | reset () noexcept |
Clear this EventId without canceling. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EventId &eventId) |
class | Scheduler |
A handle of scheduled event.
Definition at line 59 of file scheduler.hpp.
|
defaultnoexcept |
Constructs an empty EventId.
|
inlinenoexcept |
Allow implicit conversion from nullptr.
Definition at line 69 of file scheduler.hpp.
|
inherited |
Cancel the operation.
Definition at line 33 of file cancel-handle.cpp.
|
explicitnoexcept |
Determine whether the event is valid.
true | The event is valid. |
false | This EventId is empty, or the event is expired or cancelled. |
Definition at line 61 of file scheduler.cpp.
|
inlinenoexcept |
Definition at line 87 of file scheduler.hpp.
|
noexcept |
Determine whether this and other refer to the same event, or are both empty/expired/cancelled.
Definition at line 68 of file scheduler.cpp.
|
noexcept |
Clear this EventId without canceling.
Definition at line 75 of file scheduler.cpp.
|
friend |
Definition at line 81 of file scheduler.cpp.
|
friend |
Definition at line 104 of file scheduler.hpp.