Classes | |
class | ScopedEventId |
cancels an event automatically upon destruction More... | |
Functions | |
Scheduler & | getGlobalScheduler () |
EventId | schedule (const time::nanoseconds &after, const Scheduler::Event &event) |
schedule an event More... | |
void | cancel (const EventId &eventId) |
cancel a scheduled event More... | |
void | resetGlobalScheduler () |
Variables | |
static boost::thread_specific_ptr< Scheduler > | g_scheduler |
Scheduler & nfd::scheduler::getGlobalScheduler | ( | ) |
Definition at line 37 of file scheduler.cpp.
References g_scheduler.
Referenced by cancel(), ns3::ndn::L3Protocol::DoDispose(), and schedule().
EventId nfd::scheduler::schedule | ( | const time::nanoseconds & | after, |
const Scheduler::Event & | event | ||
) |
schedule an event
Definition at line 47 of file scheduler.cpp.
References getGlobalScheduler().
Referenced by nfd::DeadNonceList::add(), nfd::fw::NccStrategy::afterReceiveInterest(), nfd::fw::AccessStrategy::afterReceiveInterest(), nfd::compare_InRecord_expiry(), nfd::TcpChannel::connect(), nfd::DeadNonceList::DeadNonceList(), nfd::rib::AutoPrefixPropagator::disable(), nfd::fw::NccStrategy::doPropagate(), nfd::rib::RibManager::enableLocalControlHeader(), nfd::Measurements::extendLifetime(), nfd::Nfd::initialize(), nfd::Measurements::Measurements(), nfd::detail::SimulatorIo::post(), nfd::face::LpReassembler::receiveFragment(), nfd::rib::RibManager::setConfigFile(), nfd::detail::SimulatorIodispatch(), and nfd::cs::priority_fifo::PriorityFifoPolicy::~PriorityFifoPolicy().
void nfd::scheduler::cancel | ( | const EventId & | eventId | ) |
cancel a scheduled event
Definition at line 53 of file scheduler.cpp.
References getGlobalScheduler().
Referenced by nfd::fw::NccStrategy::beforeSatisfyInterest(), nfd::scheduler::ScopedEventId::cancel(), nfd::compare_InRecord_expiry(), nfd::rib::RibManager::enableLocalControlHeader(), nfd::rib::RibEntry::eraseRoute(), nfd::Measurements::extendLifetime(), nfd::rib::Rib::insert(), nfd::scheduler::ScopedEventId::operator=(), nfd::TcpChannel::size(), nfd::DeadNonceList::~DeadNonceList(), nfd::fw::NccStrategy::PitEntryInfo::~PitEntryInfo(), nfd::cs::priority_fifo::PriorityFifoPolicy::~PriorityFifoPolicy(), nfd::rib::RibManager::~RibManager(), and nfd::scheduler::ScopedEventId::~ScopedEventId().
void nfd::scheduler::resetGlobalScheduler | ( | ) |
Definition at line 59 of file scheduler.cpp.
|
static |
Definition at line 34 of file scheduler.cpp.
Referenced by getGlobalScheduler().