A Discrete-Event Network Simulator
API
Scheduler and Events

Manage the event list by creating and scheduling events. More...

+ Collaboration diagram for Scheduler and Events:

Modules

 Events
 

Files

file  calendar-scheduler.cc
 ns3::CalendarScheduler class implementation.
 
file  calendar-scheduler.h
 ns3::CalendarScheduler class declaration.
 
file  heap-scheduler.cc
 Implementation of ns3::HeapScheduler class.
 
file  heap-scheduler.h
 ns3::HeapScheduler declaration.
 
file  list-scheduler.cc
 ns3::ListScheduler implementation.
 
file  list-scheduler.h
 ns3::ListScheduler declaration.
 
file  map-scheduler.cc
 ns3::MapScheduler implementation.
 
file  map-scheduler.h
 ns3::MapScheduler declaration.
 
file  scheduler.cc
 ns3::Scheduler implementation.
 
file  scheduler.h
 ns3::Scheduler abstract base class, ns3::Scheduler::Event and ns3::Scheduler::EventKey declarations.
 

Classes

class  ns3::CalendarScheduler
 a calendar queue event scheduler More...
 
class  ns3::HeapScheduler
 a binary heap event scheduler More...
 
class  ns3::ListScheduler
 a std::list event scheduler More...
 
class  ns3::MapScheduler
 a std::map event scheduler More...
 
class  ns3::Scheduler
 Maintain the event list. More...
 

Variables

static GlobalValue ns3::g_schedTypeImpl
 The specific event scheduler implementation to use. More...
 

Detailed Description

Manage the event list by creating and scheduling events.

Variable Documentation

◆ g_schedTypeImpl

GlobalValue ns3::g_schedTypeImpl
static
Initial value:
= GlobalValue ("SchedulerType",
"The object class to use as the scheduler implementation",
TypeIdValue (MapScheduler::GetTypeId ()),
Ptr< const AttributeChecker > MakeTypeIdChecker(void)
Definition: type-id.cc:1234

The specific event scheduler implementation to use.

Must be derived from Scheduler.

Definition at line 74 of file simulator.cc.

Referenced by ns3::GetImpl(), and ns3::Simulator::SetImplementation().