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
ndn-cs-tracer.cpp File Reference
#include "ndn-cs-tracer.hpp"
#include "ns3/node.h"
#include "ns3/packet.h"
#include "ns3/config.h"
#include "ns3/names.h"
#include "ns3/callback.h"
#include "apps/ndn-app.hpp"
#include "model/cs/ndn-content-store.hpp"
#include "ns3/simulator.h"
#include "ns3/node-list.h"
#include "ns3/log.h"
#include <boost/lexical_cast.hpp>
#include <fstream>
Include dependency graph for ndn-cs-tracer.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define PRINTER(printName, fieldName)
 

Variables

ndn CsTracer
 Copyright (c) 2011-2015 Regents of the University of California. More...
 
static std::list< std::tuple
< shared_ptr< std::ostream >
, std::list< Ptr< CsTracer > > > > 
ns3::ndn::g_tracers
 

Macro Definition Documentation

#define PRINTER (   printName,
  fieldName 
)
Value:
os << time.ToDouble(Time::S) << "\t" << m_node << "\t" << printName << "\t" << m_stats.fieldName \
<< "\n";

Definition at line 248 of file ndn-cs-tracer.cpp.

Referenced by ns3::ndn::CsTracer::Print().

Variable Documentation

ndn CsTracer

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

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

Definition at line 37 of file ndn-cs-tracer.cpp.