ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
FormatTimeDiff Struct Reference

Description:

Definition of the formats of time differences for class textlogger::TextLogger and its derivates. This struct is used to define an external configuration variable named ALOX/LOGGERNAME/FORMAT_TIME_DIFF. This variable can be accessed programatically with TextLogger::GetFormatTimeDiff or by accessing the variable's value through the configuration object found in camp singleton alib::ALOX.

Definition at line 155 of file variables.hpp.

#include <variables.hpp>

Collaboration diagram for FormatTimeDiff:
[legend]

Public Field Index:

AStringPA Days
 Format for time difference outputs of more than a day.
 
AStringPA Hours
 Format for time difference outputs between 1h and 24h.
 
AStringPA Micros
 Entity microseconds for time difference outputs below 1000 microseconds.
 
AStringPA Millis
 Entity milliseconds for time difference outputs below 1000 milliseconds.
 
int64_t Minimum
 Minimum time difference to log in nanoseconds. Below that None is written.
 
AStringPA Mins
 Format for time difference outputs between 100s and 60 min.
 
AStringPA Nanos
 Entity nanoseconds for time difference outputs below 1000 microsecond.
 
AStringPA None
 Output for time difference if below reasonable (measurable) minimum defined in Minimum.
 
AStringPA Secs
 Format for time difference outputs between 10s and 99.9s.
 

Public Method Index:

 FormatTimeDiff (PoolAllocator &pool)
 

Field Details:

◆ Days

AStringPA Days

Format for time difference outputs of more than a day.

Definition at line 182 of file variables.hpp.

◆ Hours

AStringPA Hours

Format for time difference outputs between 1h and 24h.

Definition at line 179 of file variables.hpp.

◆ Micros

AStringPA Micros

Entity microseconds for time difference outputs below 1000 microseconds.

Definition at line 167 of file variables.hpp.

◆ Millis

AStringPA Millis

Entity milliseconds for time difference outputs below 1000 milliseconds.

Definition at line 170 of file variables.hpp.

◆ Minimum

int64_t Minimum

Minimum time difference to log in nanoseconds. Below that None is written.

Definition at line 158 of file variables.hpp.

◆ Mins

AStringPA Mins

Format for time difference outputs between 100s and 60 min.

Definition at line 176 of file variables.hpp.

◆ Nanos

AStringPA Nanos

Entity nanoseconds for time difference outputs below 1000 microsecond.

Definition at line 164 of file variables.hpp.

◆ None

AStringPA None

Output for time difference if below reasonable (measurable) minimum defined in Minimum.

Definition at line 161 of file variables.hpp.

◆ Secs

AStringPA Secs

Format for time difference outputs between 10s and 99.9s.

Definition at line 173 of file variables.hpp.

Constructor(s) / Destructor Details:

◆ FormatTimeDiff()

FormatTimeDiff ( PoolAllocator & pool)
inline

Constructor taking an object pool which is passed to each string member.

Parameters
poolThe pool object of the Configuration.

Definition at line 186 of file variables.hpp.


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