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

Functions

SchedulergetGlobalScheduler ()
 
EventId schedule (time::nanoseconds after, const EventCallback &event)
 Schedule an event. More...
 
void resetGlobalScheduler ()
 
void cancel (EventId eventId)
 Cancel a scheduled event. More...
 

Variables

static boost::thread_specific_ptr< Schedulerg_scheduler
 

Function Documentation

◆ getGlobalScheduler()

Scheduler& nfd::scheduler::getGlobalScheduler ( )

Definition at line 37 of file scheduler.cpp.

References g_scheduler.

Referenced by schedule().

◆ schedule()

◆ resetGlobalScheduler()

void nfd::scheduler::resetGlobalScheduler ( )

Definition at line 54 of file scheduler.cpp.

References g_scheduler.

Referenced by ns3::ndn::L3Protocol::DoDispose().

◆ cancel()

Variable Documentation

◆ g_scheduler

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

Definition at line 34 of file scheduler.cpp.

Referenced by getGlobalScheduler(), and resetGlobalScheduler().