#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,...) |
DebugTrace & | pre (const std::ostream &) |
DebugTrace & | pre (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 |
dynamicgraph::sot::DebugTrace::DebugTrace | ( | std::ostream & | os | ) | [inline] |
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.
const char* dynamicgraph::sot::DebugTrace::DEBUG_FILENAME_DEFAULT [static] |
std::ostream& dynamicgraph::sot::DebugTrace::outputbuffer |
const int dynamicgraph::sot::DebugTrace::SIZE = 512 [static] |
std::stringstream dynamicgraph::sot::DebugTrace::tmpbuffer |