Classes | |
class | ScopedEventId |
cancels an event automatically upon destruction More... | |
Typedefs | |
typedef std::shared_ptr < ns3::EventId > | EventId |
Functions | |
EventId | schedule (const time::nanoseconds &after, const std::function< void()> &event) |
schedule an event More... | |
void | cancel (const EventId &eventId) |
cancel a scheduled event More... | |
typedef std::shared_ptr<ns3::EventId> nfd::scheduler::EventId |
Definition at line 39 of file scheduler.hpp.
void nfd::scheduler::cancel | ( | const EventId & | eventId | ) |
cancel a scheduled event
Definition at line 58 of file scheduler.cpp.
Referenced by nfd::fw::NccStrategy::beforeSatisfyInterest(), nfd::scheduler::ScopedEventId::cancel(), nfd::Measurements::extendLifetime(), nfd::scheduler::ScopedEventId::operator=(), nfd::DeadNonceList::~DeadNonceList(), nfd::fw::NccStrategy::PitEntryInfo::~PitEntryInfo(), and nfd::scheduler::ScopedEventId::~ScopedEventId().
EventId nfd::scheduler::schedule | ( | const time::nanoseconds & | after, |
const std::function< void()> & | event | ||
) |
schedule an event
Definition at line 50 of file scheduler.cpp.
Referenced by nfd::fw::NccStrategy::afterReceiveInterest(), nfd::DeadNonceList::DeadNonceList(), nfd::fw::NccStrategy::doPropagate(), nfd::Measurements::extendLifetime(), and nfd::InternalFace::sendInterest().