sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::DebugTrace Class Reference

#include <sot/core/debug.hh>

Public Member Functions

 DebugTrace (std::ostream &os)
 
void trace (const int level, const char *format,...)
 
void trace (const char *format,...)
 
void trace (const int level=-1)
 
void traceTemplate (const int level, const char *format,...)
 
void traceTemplate (const char *format,...)
 
DebugTracepre (const std::ostream &)
 
DebugTracepre (const std::ostream &, int level)
 

Static Public Member Functions

static void openFile (const char *filename=DEBUG_FILENAME_DEFAULT)
 
static void closeFile (const char *filename=DEBUG_FILENAME_DEFAULT)
 

Public Attributes

std::stringstream tmpbuffer
 
std::ostream & outputbuffer
 
char charbuffer [SIZE+1]
 
int traceLevel
 
int traceLevelTemplate
 

Static Public Attributes

static const int SIZE = 512
 
static const char * DEBUG_FILENAME_DEFAULT
 

Constructor & Destructor Documentation

◆ DebugTrace()

dynamicgraph::sot::DebugTrace::DebugTrace ( std::ostream &  os)
inline

Member Function Documentation

◆ closeFile()

static void dynamicgraph::sot::DebugTrace::closeFile ( const char *  filename = DEBUG_FILENAME_DEFAULT)
static

◆ openFile()

static void dynamicgraph::sot::DebugTrace::openFile ( const char *  filename = DEBUG_FILENAME_DEFAULT)
static

◆ pre() [1/2]

DebugTrace& dynamicgraph::sot::DebugTrace::pre ( const std::ostream &  )
inline

◆ pre() [2/2]

DebugTrace& dynamicgraph::sot::DebugTrace::pre ( const std::ostream &  ,
int  level 
)
inline

◆ trace() [1/3]

void dynamicgraph::sot::DebugTrace::trace ( const char *  format,
  ... 
)
inline

◆ trace() [2/3]

void dynamicgraph::sot::DebugTrace::trace ( const int  level,
const char *  format,
  ... 
)
inline

◆ trace() [3/3]

void dynamicgraph::sot::DebugTrace::trace ( const int  level = -1)
inline

◆ traceTemplate() [1/2]

void dynamicgraph::sot::DebugTrace::traceTemplate ( const char *  format,
  ... 
)
inline

◆ traceTemplate() [2/2]

void dynamicgraph::sot::DebugTrace::traceTemplate ( const int  level,
const char *  format,
  ... 
)
inline

Member Data Documentation

◆ charbuffer

char dynamicgraph::sot::DebugTrace::charbuffer[SIZE+1]

◆ DEBUG_FILENAME_DEFAULT

const char* dynamicgraph::sot::DebugTrace::DEBUG_FILENAME_DEFAULT
static

◆ outputbuffer

std::ostream& dynamicgraph::sot::DebugTrace::outputbuffer

◆ SIZE

const int dynamicgraph::sot::DebugTrace::SIZE = 512
static

◆ tmpbuffer

std::stringstream dynamicgraph::sot::DebugTrace::tmpbuffer

◆ traceLevel

int dynamicgraph::sot::DebugTrace::traceLevel

◆ traceLevelTemplate

int dynamicgraph::sot::DebugTrace::traceLevelTemplate

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