#include <debug.hpp>
Public Member Functions | |
sotDebugTrace (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,...) |
sotDebugTrace & | pre (const std::ostream &) |
sotDebugTrace & | pre (const std::ostream &, int level) |
operator std::ostream & () | |
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 |
std::ofstream | voidbuffer |
char | charbuffer [SIZE+1] |
int | traceLevel |
int | traceLevelTemplate |
int | debugPrior |
Static Public Attributes | |
static const int | SIZE = 512 |
static const char * | DEBUG_FILENAME_DEFAULT = "/tmp/traces.txt" |
soth::sotDebugTrace::sotDebugTrace | ( | std::ostream & | os | ) | [inline] |
void soth::sotDebugTrace::closeFile | ( | const char * | filename = DEBUG_FILENAME_DEFAULT | ) | [static] |
References soth::debugfile.
void soth::sotDebugTrace::openFile | ( | const char * | filename = DEBUG_FILENAME_DEFAULT | ) | [static] |
References soth::debugfile.
Referenced by soth::HCOD::debugOnce().
soth::sotDebugTrace::operator std::ostream & | ( | ) | [inline] |
sotDebugTrace& soth::sotDebugTrace::pre | ( | const std::ostream & | ) | [inline] |
sotDebugTrace& soth::sotDebugTrace::pre | ( | const std::ostream & | , |
int | level | ||
) | [inline] |
void soth::sotDebugTrace::trace | ( | const int | level, |
const char * | format, | ||
... | |||
) | [inline] |
References SOT_COMMON_TRACES.
void soth::sotDebugTrace::trace | ( | const char * | format, |
... | |||
) | [inline] |
References SOT_COMMON_TRACES.
void soth::sotDebugTrace::trace | ( | const int | level = -1 | ) | [inline] |
void soth::sotDebugTrace::traceTemplate | ( | const int | level, |
const char * | format, | ||
... | |||
) | [inline] |
References SOT_COMMON_TRACES.
void soth::sotDebugTrace::traceTemplate | ( | const char * | format, |
... | |||
) | [inline] |
References SOT_COMMON_TRACES.
char soth::sotDebugTrace::charbuffer[SIZE+1] |
const char * soth::sotDebugTrace::DEBUG_FILENAME_DEFAULT = "/tmp/traces.txt" [static] |
std::ostream& soth::sotDebugTrace::outputbuffer |
const int soth::sotDebugTrace::SIZE = 512 [static] |
std::stringstream soth::sotDebugTrace::tmpbuffer |
std::ofstream soth::sotDebugTrace::voidbuffer |