μHAL (v2.7.9)
Part of the IPbus software repository
Private Member Functions | Friends | List of all members
uhal::_Time< FORMAT > Class Template Reference

Forward declaration. More...

#include <uhal/log/log_inserters.time.hpp>

Private Member Functions

 _Time (const timeval &aTime)
 Constructor. More...
 

Friends

_Time< DefaultTimeFmtTime (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
_Time< FORMAT > Time (const timeval &aTime, const FORMAT &aFmt)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4, char D4, time_element T5, char D5, time_element T6>
_Time< TimeFmt< T0, D0, T1, D1, T2, D2, T3, D3, T4, D4, T5, D5, T6 > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4, char D4, time_element T5>
_Time< TimeFmt< T0, D0, T1, D1, T2, D2, T3, D3, T4, D4, T5,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4>
_Time< TimeFmt< T0, D0, T1, D1, T2, D2, T3, D3, T4,' ', null,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3>
_Time< TimeFmt< T0, D0, T1, D1, T2, D2, T3,' ', null,' ', null,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1, char D1, time_element T2>
_Time< TimeFmt< T0, D0, T1, D1, T2,' ', null,' ', null,' ', null,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0, char D0, time_element T1>
_Time< TimeFmt< T0, D0, T1,' ', null,' ', null,' ', null,' ', null,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 
template<time_element T0>
_Time< TimeFmt< T0,' ', null,' ', null,' ', null,' ', null,' ', null,' ', null > > Time (const timeval &aTime)
 Helper function which wrap the template uglyness in a pretty package. More...
 

Detailed Description

template<typename FORMAT>
class uhal::_Time< FORMAT >

Forward declaration.

A private class whose template parameters fully encapsulate the formatting and which is used to wrap a reference to an underlying type.

A log_inserter function must be available to handle this type. The first parameter (the type) was templated so that we could overload for multiple time types but, so far, only timeval has been implemented

Definition at line 82 of file log_inserters.time.hpp.

Constructor & Destructor Documentation

◆ _Time()

template<typename FORMAT >
uhal::_Time< FORMAT >::_Time ( const timeval &  aTime)
inlineprivate

Constructor.

Parameters
aTan object for which we will are wrapping a reference

Definition at line 203 of file log_inserters.time.hpp.

Friends And Related Function Documentation

◆ Time [1/9]

template<typename FORMAT >
_Time< DefaultTimeFmt > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [2/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4, char D4, time_element T5, char D5, time_element T6>
_Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,D5,T6> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [3/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4, char D4, time_element T5>
_Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [4/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3, char D3, time_element T4>
_Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,' ',null,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [5/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1, char D1, time_element T2, char D2, time_element T3>
_Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,' ',null,' ',null,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [6/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1, char D1, time_element T2>
_Time< TimeFmt<T0,D0,T1,D1,T2,' ',null,' ',null,' ',null,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [7/9]

template<typename FORMAT >
template<time_element T0, char D0, time_element T1>
_Time< TimeFmt<T0,D0,T1,' ',null,' ',null,' ',null,' ',null,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [8/9]

template<typename FORMAT >
template<time_element T0>
_Time< TimeFmt<T0,' ',null,' ',null,' ',null,' ',null,' ',null,' ',null> > Time ( const timeval &  aTime)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
Returns
a time wrapper object whose template parameters fully encapsulate the default formatting

Definition at line 53 of file log_inserters.time.hxx.

◆ Time [9/9]

template<typename FORMAT >
_Time< FORMAT > Time ( const timeval &  aTime,
const FORMAT &  aFmt 
)
friend

Helper function which wrap the template uglyness in a pretty package.

Parameters
aTimea time object to be formatted and logged
aFmta time format object whose template parameters fully encapsulate the desired formatting
Returns
a time wrapper object whose template parameters fully encapsulate the desired formatting

Definition at line 241 of file log_inserters.time.hxx.


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