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

For internal use by FaceLogging macros. More...

#include <face-common.hpp>

Public Member Functions

 FaceLogHelper (const T &obj1) noexcept
 

Public Attributes

const T & obj
 

Detailed Description

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

For internal use by FaceLogging macros.

FaceLogHelper wraps a reference to 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 will appear as part of the log message.

Definition at line 92 of file face-common.hpp.

Constructor & Destructor Documentation

◆ FaceLogHelper()

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

Definition at line 96 of file face-common.hpp.

Member Data Documentation

◆ obj

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

Definition at line 102 of file face-common.hpp.

Referenced by nfd::face::operator<<().


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