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

Copyright (c) 2011-2015 Regents of the University of California. More...

Namespaces

 ndn
 

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  BatchesChecker
 
class  BatchesValue
 
class  L2RateTracer
 Tracer to collect link-layer rate information about links. More...
 
class  L2Tracer
 Link-layer tracer. More...
 
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

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...
 
template<typename T1 >
Ptr< const AttributeAccessor > MakeBatchesAccessor (T1 a1)
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > MakeBatchesAccessor (T1 a1, T2 a2)
 
Ptr< const AttributeChecker > MakeBatchesChecker (void)
 
static void nodeWriter (std::ostream &os, NodeContainer &m)
 
std::ostream & operator<< (std::ostream &os, const L2Tracer &tracer)
 

Variables

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

Detailed Description

Copyright (c) 2011-2015 Regents of the University of California.

Copyright (c) 2013-2015 Regents of the University of California.

Copyright (c) 2011-2015 Tsinghua University, P.R.China.

This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and contributors.

ndnSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndnSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ndnSIM, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and contributors.

ndnSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndnSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ndnSIM, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

Author
Xiaoke Jiang shock.nosp@m..jia.nosp@m.ng@gm.nosp@m.ail..nosp@m.com

This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).

ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

See AUTHORS.md for complete list of ndn-cxx authors and contributors.

Function Documentation

§ operator<<() [1/2]

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 27 of file batches.cpp.

§ operator>>()

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 40 of file batches.cpp.

References ns3::Batches::Add().

§ MakeBatchesAccessor() [1/2]

template<typename T1 >
Ptr<const AttributeAccessor> ns3::MakeBatchesAccessor ( T1  a1)

Definition at line 55 of file batches.hpp.

Referenced by ns3::ndn::ConsumerBatches::GetTypeId().

§ MakeBatchesAccessor() [2/2]

template<typename T1 , typename T2 >
Ptr<const AttributeAccessor> ns3::MakeBatchesAccessor ( T1  a1,
T2  a2 
)

Definition at line 55 of file batches.hpp.

§ MakeBatchesChecker()

Ptr<const AttributeChecker> ns3::MakeBatchesChecker ( void  )

§ nodeWriter()

static void ns3::nodeWriter ( std::ostream &  os,
NodeContainer &  m 
)
static

Definition at line 484 of file rocketfuel-map-reader.cpp.

Referenced by ns3::RocketfuelMapReader::SaveTopology().

§ operator<<() [2/2]

std::ostream& ns3::operator<< ( std::ostream &  os,
const L2Tracer tracer 
)
inline

Definition at line 79 of file l2-tracer.hpp.

References ns3::L2Tracer::Print(), and ns3::L2Tracer::PrintHeader().

Variable Documentation

§ Batches

Definition at line 24 of file batches.cpp.

§ AnnotatedTopologyReader

§ g_tracers

std::list<std::tuple<std::shared_ptr<std::ostream>, std::list<Ptr<L2RateTracer> > > > ns3::g_tracers
static

Definition at line 39 of file l2-rate-tracer.cpp.

Referenced by ns3::L2RateTracer::Destroy(), and ns3::L2RateTracer::InstallAll().

§ alpha

const double ns3::alpha = 0.8

Definition at line 142 of file l2-rate-tracer.cpp.