NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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) 2014, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.

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

Louis, Beijing Institute of Technology, The University of Memphis

This file is part of NFD (Named Data Networking Forwarding Daemon). See AUTHORS.md for complete list of NFD authors and contributors.

NFD 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.

NFD 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 NFD, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

Function Documentation

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

Definition at line 55 of file batches.hpp.

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

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

Definition at line 55 of file batches.hpp.

Ptr<const AttributeChecker> ns3::MakeBatchesChecker ( void  )
static void ns3::nodeWriter ( std::ostream &  os,
NodeContainer &  m 
)
static

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

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

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.

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().

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().

Variable Documentation

const double ns3::alpha = 0.8

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

Definition at line 24 of file batches.cpp.

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().