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 associated event is valid. More... | |
| void | reset () noexcept |
| Clear this EventId without canceling the associated event. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const EventId &eventId) |
| bool | operator== (const EventId &lhs, const EventId &rhs) noexcept |
Determine whether lhs and rhs refer to the same event, or are both empty/expired/cancelled. More... | |
A handle for a scheduled event.
Definition at line 61 of file scheduler.hpp.
|
defaultnoexcept |
Constructs an empty EventId.
|
inherited |
Cancel the operation.
Definition at line 27 of file cancel-handle.cpp.
|
explicitnoexcept |
Determine whether the associated event is valid.
| true | The event is valid. |
| false | This EventId is empty, or the event is expired or cancelled. |
Definition at line 51 of file scheduler.cpp.
|
noexcept |
Clear this EventId without canceling the associated event.
Definition at line 58 of file scheduler.cpp.
|
friend |
Definition at line 104 of file scheduler.hpp.
Determine whether lhs and rhs refer to the same event, or are both empty/expired/cancelled.
Definition at line 97 of file scheduler.hpp.