NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::face::FaceLogHelper< T > Class Template Reference

for internal use by FaceLogging macros More...

#include <face-log.hpp>

Public Member Functions

 FaceLogHelper (const T &obj1)

Public Attributes

const T & obj

Detailed Description

template<typename T>
class nfd::face::FaceLogHelper< T >

for internal use by FaceLogging macros

FaceLogHelper wraps a Face, LinkService, or Transport object.

std::ostream& operator<<(std::ostream& os, const FaceLogHelper<T>& flh) should be specialized to print "[id=888,local=scheme://local/uri,remote=scheme://remote/uri] " which appears as part of the log message.

Definition at line 43 of file face-log.hpp.

Constructor & Destructor Documentation

◆ FaceLogHelper()

template<typename T >
nfd::face::FaceLogHelper< T >::FaceLogHelper ( const T &  obj1)

Definition at line 47 of file face-log.hpp.

Member Data Documentation

◆ obj

template<typename T >
const T& nfd::face::FaceLogHelper< T >::obj

Definition at line 53 of file face-log.hpp.

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