Stores internal information about a scheduled event. More...
Public Member Functions | |
EventInfo (time::nanoseconds after, const EventCallback &callback) | |
time::nanoseconds | expiresFromNow () const |
Public Attributes | |
time::steady_clock::TimePoint | expireTime |
bool | isExpired |
EventCallback | callback |
EventQueue::const_iterator | queueIt |
Stores internal information about a scheduled event.
Definition at line 32 of file scheduler.cpp.
|
inline |
Definition at line 35 of file scheduler.cpp.
|
inline |
Definition at line 43 of file scheduler.cpp.
References expireTime, and ndn::time::steady_clock::now().
time::steady_clock::TimePoint ndn::util::scheduler::EventInfo::expireTime |
Definition at line 49 of file scheduler.cpp.
Referenced by expiresFromNow().
bool ndn::util::scheduler::EventInfo::isExpired |
Definition at line 50 of file scheduler.cpp.
EventCallback ndn::util::scheduler::EventInfo::callback |
Definition at line 51 of file scheduler.cpp.
EventQueue::const_iterator ndn::util::scheduler::EventInfo::queueIt |
Definition at line 52 of file scheduler.cpp.