NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::scheduler Namespace Reference


class  ScopedEventId
 cancels an event automatically upon destruction More...


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 ()


static boost::thread_specific_ptr< Scheduler > g_scheduler

Function Documentation

◆ getGlobalScheduler()

Scheduler & nfd::scheduler::getGlobalScheduler ( )

Definition at line 37 of file scheduler.cpp.

References g_scheduler.

Referenced by cancel(), ns3::ndn::L3Protocol::DoDispose(), and schedule().

◆ schedule()

◆ cancel()

◆ resetGlobalScheduler()

void nfd::scheduler::resetGlobalScheduler ( )

Definition at line 59 of file scheduler.cpp.

Variable Documentation

◆ g_scheduler

boost::thread_specific_ptr<Scheduler> nfd::scheduler::g_scheduler

Definition at line 34 of file scheduler.cpp.

Referenced by getGlobalScheduler().