NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::scheduler::EventInfo Class Reference

Stores internal information about a scheduled event. More...

Inheritance diagram for ndn::util::scheduler::EventInfo:
Collaboration diagram for ndn::util::scheduler::EventInfo:

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

Detailed Description

Stores internal information about a scheduled event.

Definition at line 32 of file scheduler.cpp.

Constructor & Destructor Documentation

◆ EventInfo()

ndn::util::scheduler::EventInfo::EventInfo ( time::nanoseconds  after,
const EventCallback callback 

Definition at line 35 of file scheduler.cpp.

Member Function Documentation

◆ expiresFromNow()

time::nanoseconds ndn::util::scheduler::EventInfo::expiresFromNow ( ) const

Definition at line 43 of file scheduler.cpp.

References expireTime, and ndn::time::steady_clock::now().

Member Data Documentation

◆ expireTime

time::steady_clock::TimePoint ndn::util::scheduler::EventInfo::expireTime

Definition at line 49 of file scheduler.cpp.

Referenced by expiresFromNow().

◆ isExpired

bool ndn::util::scheduler::EventInfo::isExpired

Definition at line 50 of file scheduler.cpp.

◆ callback

EventCallback ndn::util::scheduler::EventInfo::callback

Definition at line 51 of file scheduler.cpp.

◆ queueIt

EventQueue::const_iterator ndn::util::scheduler::EventInfo::queueIt

Definition at line 52 of file scheduler.cpp.

The documentation for this class was generated from the following file: