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

Classes

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

Functions

Scheduler & getGlobalScheduler ()
 
EventId schedule (time::nanoseconds after, const EventCallback &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
 

Function Documentation

Scheduler & nfd::scheduler::getGlobalScheduler ( )

Definition at line 37 of file scheduler.cpp.

References g_scheduler.

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

void nfd::scheduler::resetGlobalScheduler ( )

Definition at line 59 of file scheduler.cpp.

Variable Documentation

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

Definition at line 34 of file scheduler.cpp.

Referenced by getGlobalScheduler().