Identifies a scheduled event.
More...
#include <scheduler.hpp>
Identifies a scheduled event.
Definition at line 52 of file scheduler.hpp.
ndn::util::scheduler::EventId::EventId |
( |
std::nullptr_t |
= nullptr | ) |
|
|
inline |
ndn::util::scheduler::EventId::operator bool |
( |
| ) |
const |
|
explicit |
- Return values
-
true | The event is valid. |
false | This EventId is empty, or the event is expired or cancelled. |
Definition at line 54 of file scheduler.cpp.
bool ndn::util::scheduler::EventId::operator!= |
( |
const EventId & |
other | ) |
const |
|
inline |
bool ndn::util::scheduler::EventId::operator== |
( |
const EventId & |
other | ) |
const |
- Returns
- whether this and other refer to the same event, or are both empty/expired/cancelled
Definition at line 60 of file scheduler.cpp.
void ndn::util::scheduler::EventId::reset |
( |
| ) |
|
|
inline |
clear this EventId
- Note
- This does not cancel the event.
- Postcondition
- !(*this)
Definition at line 88 of file scheduler.hpp.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const EventId & |
eventId |
|
) |
| |
|
friend |