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

contains network layer packet counters More...

#include <face-counters.hpp>

Inheritance diagram for nfd::NetworkLayerCounters:
Collaboration diagram for nfd::NetworkLayerCounters:

Public Member Functions

const PacketCounter & getNInInterests () const
 incoming Interest More...
 
PacketCounter & getNInInterests ()
 
const PacketCounter & getNInDatas () const
 incoming Data More...
 
PacketCounter & getNInDatas ()
 
const PacketCounter & getNOutInterests () const
 outgoing Interest More...
 
PacketCounter & getNOutInterests ()
 
const PacketCounter & getNOutDatas () const
 outgoing Data More...
 
PacketCounter & getNOutDatas ()
 

Protected Member Functions

template<typename R >
void copyTo (R &recipient) const
 copy current obseverations to a struct More...
 

Detailed Description

contains network layer packet counters

Definition at line 108 of file face-counters.hpp.

Member Function Documentation

const PacketCounter& nfd::NetworkLayerCounters::getNInInterests ( ) const
inline

incoming Interest

Definition at line 113 of file face-counters.hpp.

Referenced by nfd::Face::Face(), and nfd::Forwarder::~Forwarder().

PacketCounter& nfd::NetworkLayerCounters::getNInInterests ( )
inline

Definition at line 119 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNInDatas ( ) const
inline

incoming Data

Definition at line 126 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNInDatas ( )
inline

Definition at line 132 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNOutInterests ( ) const
inline

outgoing Interest

Definition at line 139 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNOutInterests ( )
inline

Definition at line 145 of file face-counters.hpp.

const PacketCounter& nfd::NetworkLayerCounters::getNOutDatas ( ) const
inline

outgoing Data

Definition at line 152 of file face-counters.hpp.

Referenced by nfd::compare_pickInterest(), and nfd::Face::Face().

PacketCounter& nfd::NetworkLayerCounters::getNOutDatas ( )
inline

Definition at line 158 of file face-counters.hpp.

template<typename R >
void nfd::NetworkLayerCounters::copyTo ( R &  recipient) const
inlineprotected

copy current obseverations to a struct

Parameters
recipientan object with set methods for counters

Definition at line 169 of file face-counters.hpp.

Referenced by nfd::ForwarderCounters::copyTo(), and nfd::FaceCounters::copyTo().


The documentation for this class was generated from the following file: