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
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 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 ()
 
- Public Member Functions inherited from nfd::LinkLayerCounters
const ByteCounter & getNInBytes () const
 received bytes More...
 
ByteCounter & getNInBytes ()
 
const ByteCounter & getNOutBytes () const
 sent bytes More...
 
ByteCounter & getNOutBytes ()
 

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: