dynamicgraph::sot::DebugTrace Class Reference

#include <sot/core/debug.hh>

List of all members.

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

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

Member Function Documentation

static void dynamicgraph::sot::DebugTrace::closeFile ( const char *  filename = DEBUG_FILENAME_DEFAULT) [static]
static void dynamicgraph::sot::DebugTrace::openFile ( const char *  filename = DEBUG_FILENAME_DEFAULT) [static]
DebugTrace& dynamicgraph::sot::DebugTrace::pre ( const std::ostream &  ) [inline]
DebugTrace& dynamicgraph::sot::DebugTrace::pre ( const std::ostream &  ,
int  level 
) [inline]
void dynamicgraph::sot::DebugTrace::trace ( const int  level,
const char *  format,
  ... 
) [inline]

References SOT_COMMON_TRACES.

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

References SOT_COMMON_TRACES.

void dynamicgraph::sot::DebugTrace::trace ( const int  level = -1) [inline]
void dynamicgraph::sot::DebugTrace::traceTemplate ( const int  level,
const char *  format,
  ... 
) [inline]

References SOT_COMMON_TRACES.

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

References SOT_COMMON_TRACES.


Member Data Documentation

const int dynamicgraph::sot::DebugTrace::SIZE = 512 [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines