Class simtix::trace::OstreamTracer
ClassList > simtix > trace > OstreamTracer
Dump traces to a given std::ostream. This class is a singleton class and only one instance will exist in a program. Users should dump the trace with <DDUMP> or <DPRINTF>.
#include <trace.h>
Public Functions
Type | Name |
---|---|
void | DumpTrace (std::string_view msg) |
void | DumpTraceFlag (const char * flag, const std::string & msg) |
OstreamTracer (const OstreamTracer &) = delete |
|
OstreamTracer & | operator= (const OstreamTracer &) = delete |
Public Static Functions
Type | Name |
---|---|
OstreamTracer & | GetInstance () |
void | Init (std::ostream & os) Initialize the tracer with a given output stream. |
Public Functions Documentation
function DumpTrace
function DumpTraceFlag
inline void simtix::trace::OstreamTracer::DumpTraceFlag (
const char * flag,
const std::string & msg
)
function OstreamTracer [1/2]
function operator=
Public Static Functions Documentation
function GetInstance
function Init
Initialize the tracer with a given output stream.
Parameters:
os
Pointer to the output stream.
The documentation for this class was generated from the following file projects/simtix/include/simtix/trace.h