A handle for a scheduled event. More...
#include <ndn-cxx/util/scheduler.hpp>
Inheritance diagram for ndn::scheduler::EventId:
Collaboration diagram for ndn::scheduler::EventId:Public Member Functions | |
| EventId () noexcept=default | |
| Constructs an empty EventId. More... | |
| void | cancel () const |
| Cancel the operation. More... | |
| operator bool () const noexcept | |
| Determine whether the event is valid. More... | |
| void | reset () noexcept |
| Clear this EventId without canceling. More... | |
Friends | |
| bool | operator!= (const EventId &lhs, const EventId &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &os, const EventId &eventId) |
| bool | operator== (const EventId &lhs, const EventId &rhs) noexcept |
| Determine whether this and other refer to the same event, or are both empty/expired/cancelled. More... | |
A handle for a scheduled event.
Definition at line 60 of file scheduler.hpp.
|
defaultnoexcept |
Constructs an empty EventId.
|
inherited |
Cancel the operation.
Definition at line 28 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 59 of file scheduler.cpp.
|
noexcept |
Clear this EventId without canceling.
Definition at line 66 of file scheduler.cpp.
Definition at line 96 of file scheduler.hpp.
|
friend |
Definition at line 71 of file scheduler.cpp.
Determine whether this and other refer to the same event, or are both empty/expired/cancelled.
Definition at line 88 of file scheduler.hpp.