public

Inheritance Graph

graph BT
	LoggerTSV
	LoggerTSV --> Logger
	click LoggerTSV "classMinSG_1_1Profiling_1_1LoggerTSV"
	click Logger "classMinSG_1_1Profiling_1_1Logger"

Description

Logger for tab-separated values.

Public Functions

   
   
  LoggerTSV(std::ostream & outputStream)
   
  ~LoggerTSV()
   
void addColumn(const Util::StringIdentifier & columnName)
   
void log(const Action & action)
Create formatted output for the given action.

Documentation

function
MinSG::Profiling::LoggerTSV::LoggerTSV

public
     
     
LoggerTSV( std::ostream & outputStream )

Create a new logger for tab-separated values. All entries in the output file will be formatted by means of a predefined set of columns. Before logging any actions, the default set can be extended (see addColumn() ). At the beginning, the default columns are ATTR_description, ATTR_memoryBegin ATTR_memoryEnd, ATTR_timeBegin, and ATTR_timeEnd.

Defined in MinSG/Ext/Profiling/Logger.h:72


function
MinSG::Profiling::LoggerTSV::~LoggerTSV

public virtual
   
   
~LoggerTSV( )

Defined in MinSG/Ext/Profiling/Logger.h:73


function
MinSG::Profiling::LoggerTSV::addColumn

public
     
     
void addColumn( const Util::StringIdentifier & columnName )

Add a column to the set of columns used for formatting the actions that are logged.

Parameters

columnName
String identifier that is used in actions later on

Defined in MinSG/Ext/Profiling/Logger.h:81


function
MinSG::Profiling::LoggerTSV::log

public virtual
     
     
void log( const Action & action )

Create formatted output for the given action.

Defined in MinSG/Ext/Profiling/Logger.h:83