μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
uhal::BaseLogLevel< T > Class Template Reference

#include <uhal/log/LogLevels.hpp>

Inheritance diagram for uhal::BaseLogLevel< T >:
[legend]

Public Member Functions

T & operator() ()
 
T & head ()
 
T & tail ()
 
std::ostream & stream ()
 

Protected Types

typedef void(* fPtr) (std::ostream &aStr)
 

Protected Member Functions

 BaseLogLevel (std::ostream &aStr, fPtr aHeadFunction, fPtr aTailFunction)
 

Private Attributes

std::ostream & mStr
 
fPtr mHeadFunction
 
fPtr mTailFunction
 

Detailed Description

template<typename T>
class uhal::BaseLogLevel< T >

Definition at line 41 of file LogLevels.hpp.

Member Typedef Documentation

◆ fPtr

template<typename T >
typedef void( * uhal::BaseLogLevel< T >::fPtr) (std::ostream &aStr)
protected

Definition at line 44 of file LogLevels.hpp.

Constructor & Destructor Documentation

◆ BaseLogLevel()

template<typename T >
uhal::BaseLogLevel< T >::BaseLogLevel ( std::ostream &  aStr,
fPtr  aHeadFunction,
fPtr  aTailFunction 
)
inlineprotected

Definition at line 46 of file LogLevels.hpp.

Member Function Documentation

◆ head()

template<typename T >
T& uhal::BaseLogLevel< T >::head ( )
inline

Definition at line 58 of file LogLevels.hpp.

Referenced by uhal::log().

◆ operator()()

template<typename T >
T& uhal::BaseLogLevel< T >::operator() ( )
inline

Definition at line 53 of file LogLevels.hpp.

◆ stream()

template<typename T >
std::ostream& uhal::BaseLogLevel< T >::stream ( )
inline

Definition at line 70 of file LogLevels.hpp.

Referenced by uhal::log().

◆ tail()

template<typename T >
T& uhal::BaseLogLevel< T >::tail ( )
inline

Definition at line 64 of file LogLevels.hpp.

Referenced by uhal::log().

Member Data Documentation

◆ mHeadFunction

template<typename T >
fPtr uhal::BaseLogLevel< T >::mHeadFunction
private

Definition at line 77 of file LogLevels.hpp.

◆ mStr

template<typename T >
std::ostream& uhal::BaseLogLevel< T >::mStr
private

Definition at line 76 of file LogLevels.hpp.

◆ mTailFunction

template<typename T >
fPtr uhal::BaseLogLevel< T >::mTailFunction
private

Definition at line 78 of file LogLevels.hpp.


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