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
 Implementation of ns3::CalendarScheduler class.
 
file  calendar-scheduler.h
 Declaration of ns3::CalendarScheduler class.
 
file  heap-scheduler.cc
 Implementation of ns3::HeapScheduler class.
 
file  heap-scheduler.h
 Declaration of ns3::HeapScheduler class.
 
file  list-scheduler.cc
 Implementation of ns3::ListScheduler class.
 
file  list-scheduler.h
 Declaration of ns3::ListScheduler class.
 
file  map-scheduler.cc
 Implementation of ns3::MapScheduler class.
 
file  map-scheduler.h
 Declaration of ns3::MapScheduler class.
 
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...
 
struct  ns3::Scheduler::Event
 Scheduler event. More...
 
struct  ns3::Scheduler::EventKey
 Structure for sorting and comparing Events. 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

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:1202

The specific event scheduler implementation to use.

Must be derived from Scheduler.

Definition at line 74 of file simulator.cc.