Stores internal information about a scheduled event. More...
Public Member Functions | |
EventInfo (time::nanoseconds after, EventCallback &&cb, uint32_t context) | |
NDN_CXX_NODISCARD time::nanoseconds | expiresFromNow () const |
Public Attributes | |
EventCallback | callback |
Scheduler::EventQueue::const_iterator | queueIt |
time::steady_clock::TimePoint | expireTime |
bool | isExpired = false |
uint32_t | context = 0 |
Stores internal information about a scheduled event.
Definition at line 31 of file scheduler.cpp.
|
inline |
Definition at line 34 of file scheduler.cpp.
|
inline |
Definition at line 42 of file scheduler.cpp.
References expireTime, and ndn::time::steady_clock::now().
EventCallback ndn::scheduler::EventInfo::callback |
Definition at line 48 of file scheduler.cpp.
Scheduler::EventQueue::const_iterator ndn::scheduler::EventInfo::queueIt |
Definition at line 49 of file scheduler.cpp.
time::steady_clock::TimePoint ndn::scheduler::EventInfo::expireTime |
Definition at line 50 of file scheduler.cpp.
Referenced by expiresFromNow().
bool ndn::scheduler::EventInfo::isExpired = false |
Definition at line 51 of file scheduler.cpp.
uint32_t ndn::scheduler::EventInfo::context = 0 |
Definition at line 52 of file scheduler.cpp.