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

contains counters on face More...

#include <face-counters.hpp>

Inheritance diagram for nfd::FaceCounters:
Collaboration diagram for nfd::FaceCounters:

Public Member Functions

template<typename R >
void copyTo (R &recipient) const
 copy current obseverations to a struct More...
 
- Public Member Functions inherited from nfd::NetworkLayerCounters
const PacketCountergetNInInterests () const
 incoming Interest More...
 
PacketCountergetNInInterests ()
 
const PacketCountergetNInDatas () const
 incoming Data More...
 
PacketCountergetNInDatas ()
 
const PacketCountergetNOutInterests () const
 outgoing Interest More...
 
PacketCountergetNOutInterests ()
 
const PacketCountergetNOutDatas () const
 outgoing Data More...
 
PacketCountergetNOutDatas ()
 
- Public Member Functions inherited from nfd::LinkLayerCounters
const ByteCountergetNInBytes () const
 received bytes More...
 
ByteCountergetNInBytes ()
 
const ByteCountergetNOutBytes () const
 sent bytes More...
 
ByteCountergetNOutBytes ()
 

Additional Inherited Members

- Protected Member Functions inherited from nfd::NetworkLayerCounters
template<typename R >
void copyTo (R &recipient) const
 copy current obseverations to a struct More...
 
- Protected Member Functions inherited from nfd::LinkLayerCounters
template<typename R >
void copyTo (R &recipient) const
 copy current obseverations to a struct More...
 

Detailed Description

contains counters on face

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

Member Function Documentation

template<typename R >
void nfd::FaceCounters::copyTo ( R &  recipient) const
inline

copy current obseverations to a struct

Parameters
recipientan object with set methods for counters

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

References nfd::NetworkLayerCounters::copyTo(), and nfd::LinkLayerCounters::copyTo().

Referenced by nfd::Face::getFaceStatus().


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