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::fw::asf::AsfStrategy::afterReceiveNack(), nfd::face::UnicastUdpTransport::beforeChangePersistency(), nfd::compare_InRecord_expiry(), nfd::TcpChannel::connect(), nfd::DeadNonceList::DeadNonceList(), nfd::rib::AutoPrefixPropagator::disable(), nfd::fw::NccStrategy::doPropagate(), nfd::fw::asf::NamespaceInfo::extendFaceInfoLifetime(), nfd::measurements::Measurements::extendLifetime(), nfd::face::TcpTransport::handleError(), nfd::Nfd::initialize(), nfd::measurements::Measurements::Measurements(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::detail::SimulatorIo::post(), nfd::face::LpReassembler::receiveFragment(), nfd::face::WebSocketTransport::receiveMessage(), nfd::fw::asf::ProbingModule::scheduleProbe(), 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::RibEntry::eraseRoute(), nfd::fw::asf::NamespaceInfo::extendFaceInfoLifetime(), nfd::measurements::Measurements::extendLifetime(), nfd::rib::Rib::insert(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::scheduler::ScopedEventId::operator=(), nfd::fw::asf::FaceInfo::setTimeoutEvent(), nfd::TcpChannel::size(), nfd::DeadNonceList::~DeadNonceList(), nfd::fw::asf::FaceInfo::~FaceInfo(), 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().