A Discrete-Event Network Simulator
API
Namespaces | Functions | Variables
simulator.cc File Reference

ns3::Simulator implementation, as well as implementation pointer, global scheduler implementation, and default ns3::NodePrinter and ns3::TimePrinter. More...

#include "ns3/core-config.h"
#include "simulator.h"
#include "simulator-impl.h"
#include "scheduler.h"
#include "map-scheduler.h"
#include "event-impl.h"
#include "des-metrics.h"
#include "ptr.h"
#include "string.h"
#include "object-factory.h"
#include "global-value.h"
#include "assert.h"
#include "log.h"
#include <cmath>
#include <fstream>
#include <list>
#include <vector>
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

static SimulatorImpl * ns3::GetImpl (void)
 Get the SimulatorImpl singleton. More...
 
static void ns3::NodePrinter (std::ostream &os)
 Default node id printer implementation. More...
 
Time ns3::Now (void)
 create an ns3::Time instance which contains the current simulation time. More...
 
static SimulatorImpl ** ns3::PeekImpl (void)
 Get the static SimulatorImpl instance. More...
 
static void ns3::TimePrinter (std::ostream &os)
 Default TimePrinter implementation. More...
 

Variables

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

Detailed Description

ns3::Simulator implementation, as well as implementation pointer, global scheduler implementation, and default ns3::NodePrinter and ns3::TimePrinter.

Definition in file simulator.cc.