NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3 Namespace Reference

NS-3 namespace. More...

Namespaces

 ndn
 ndnSIM namespace
 

Classes

class  AnnotatedTopologyReader
 This class reads annotated topology and apply settings to the corresponding nodes and links. More...
 
class  Batches
 Class representing sets of (time, number) tuples with support of reading writing to streams. More...
 
class  CallbackBasedApp
 A meta application that can be used to create custom apps within Python bindings. More...
 
class  Ipv4AppTracer
 Base class for IPv4/TCP based applications. More...
 
class  Ipv4L3Tracer
 Base class for IPv4 network-layer tracers. More...
 
class  Ipv4RateL3Tracer
 IPv4 network-layer rate tracer. More...
 
class  Ipv4SeqsAppTracer
 Helper to track application-level sequence numbers (approximated from TCP ACKs) More...
 
class  L2RateTracer
 Tracer to collect link-layer rate information about links. More...
 
class  L2Tracer
 Link-layer tracer. More...
 
class  name_color_writer
 
class  name_writer
 
class  RocketfuelMapReader
 Topology file reader and topology estimator (extension of Rocketfuel-format type). More...
 
struct  RocketfuelParams
 
class  RocketfuelWeightsReader
 Topology file reader (extension of Rocketfuel-format type). More...
 

Functions

 ATTRIBUTE_HELPER_CPP (Batches)
 
std::ostream & operator<< (std::ostream &os, const Batches &batch)
 Output contents of the Batches to the std::ostream. More...
 
std::istream & operator>> (std::istream &is, Batches &batch)
 Read components from input and add them to components. More...
 
 ATTRIBUTE_HELPER_HEADER (Batches)
 
std::ostream & operator<< (std::ostream &os, const Ipv4AppTracer &tracer)
 
std::ostream & operator<< (std::ostream &os, const Ipv4L3Tracer &tracer)
 
template<class T >
static void NullDeleter (T *ptr)
 
template<class T >
static void NullDeleter (T *ptr)
 
std::ostream & operator<< (std::ostream &os, const L2Tracer &tracer)
 
 NS_OBJECT_ENSURE_REGISTERED (CallbackBasedApp)
 
 NS_LOG_COMPONENT_DEFINE ("AnnotatedTopologyReader")
 
template<class Names >
name_writer< Names > make_name_writer (Names n)
 
static void nodeWriter (std::ostream &os, NodeContainer &m)
 
template<class Names , class Colors >
name_color_writer< Names, Colors > make_name_color_writer (Names n, Colors c)
 

Variables

const double alpha = 0.8
 
static std::list< boost::tuple
< boost::shared_ptr
< std::ostream >, std::list
< Ptr< L2RateTracer > > > > 
g_tracers
 

Detailed Description

NS-3 namespace.

-*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*-

Function Documentation

std::ostream & ns3::operator<< ( std::ostream &  os,
const Batches &  batch 
)

Output contents of the Batches to the std::ostream.

Parameters
osreference to std::ostream
batchconstant reference to Batch object

Definition at line 28 of file batches.cc.

std::istream & ns3::operator>> ( std::istream &  is,
Batches &  batch 
)

Read components from input and add them to components.

Will read input stream till eof Substrings separated by slashes will become separate components

Definition at line 41 of file batches.cc.

References ns3::Batches::Add().