Ginan
Loading...
Searching...
No Matches
trace.hpp File Reference

Data Structures

struct  ConsoleLog
 
struct  Block
 
struct  ArbitraryKVP
 

Functions

template<typename... Arguments>
void tracepdeex_ (Trace &stream, string const &fmt, Arguments &&... args)
 
template<typename... Args>
void traceTrivialDebug_ (string const &fmt, Args &&... args)
 
template<typename... Args>
void traceTrivialInfo_ (string const &fmt, Args &&... args)
 
template<typename T >
std::ofstream getTraceFile (T &thing, bool json=false)
 
void printHex (Trace &trace, vector< unsigned char > &chunk)
 
void traceFormatedFloat (Trace &trace, double val, string formatStr)
 
void traceJson_ (Trace &trace, GTime &time, vector< ArbitraryKVP > id, vector< ArbitraryKVP > val)
 
bool createNewTraceFile (const string id, boost::posix_time::ptime logptime, string new_path_trace, string &old_path_trace, bool outputHeader=false, bool outputConfig=false)
 

Typedefs

using Trace = std::ostream
 

Typedef Documentation

◆ Trace

using Trace = std::ostream

Function Documentation

◆ createNewTraceFile()

bool createNewTraceFile ( const string id,
boost::posix_time::ptime logptime,
string new_path_trace,
string & old_path_trace,
bool outputHeader = false,
bool outputConfig = false )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTraceFile()

template<typename T >
std::ofstream getTraceFile ( T & thing,
bool json = false )
Here is the caller graph for this function:

◆ printHex()

void printHex ( Trace & trace,
vector< unsigned char > & chunk )

◆ traceFormatedFloat()

void traceFormatedFloat ( Trace & trace,
double val,
string formatStr )
Here is the caller graph for this function:

◆ traceJson_()

void traceJson_ ( Trace & trace,
GTime & time,
vector< ArbitraryKVP > id,
vector< ArbitraryKVP > val )
Here is the call graph for this function:

◆ tracepdeex_()

template<typename... Arguments>
void tracepdeex_ ( Trace & stream,
string const & fmt,
Arguments &&... args )

◆ traceTrivialDebug_()

template<typename... Args>
void traceTrivialDebug_ ( string const & fmt,
Args &&... args )

◆ traceTrivialInfo_()

template<typename... Args>
void traceTrivialInfo_ ( string const & fmt,
Args &&... args )