Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dynamicgraph::sot::DebugTrace Class Reference

#include <debug.hh>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static const char * DEBUG_FILENAME_DEFAULT
 
static const size_type SIZE = 512
 

Detailed Description

Definition at line 39 of file debug.hh.

Constructor & Destructor Documentation

◆ DebugTrace()

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

Definition at line 49 of file debug.hh.

Member Function Documentation

◆ closeFile()

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

Definition at line 53 of file debug.cpp.

◆ openFile()

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

Definition at line 47 of file debug.cpp.

◆ pre() [1/2]

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

Definition at line 76 of file debug.hh.

◆ pre() [2/2]

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

Definition at line 78 of file debug.hh.

◆ trace() [1/3]

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

Definition at line 56 of file debug.hh.

◆ trace() [2/3]

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

Definition at line 51 of file debug.hh.

◆ trace() [3/3]

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

Definition at line 61 of file debug.hh.

◆ traceTemplate() [1/2]

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

Definition at line 71 of file debug.hh.

◆ traceTemplate() [2/2]

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

Definition at line 66 of file debug.hh.

Member Data Documentation

◆ charbuffer

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

Definition at line 45 of file debug.hh.

◆ DEBUG_FILENAME_DEFAULT

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

Definition at line 83 of file debug.hh.

◆ outputbuffer

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

Definition at line 44 of file debug.hh.

◆ SIZE

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

Definition at line 41 of file debug.hh.

◆ tmpbuffer

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

Definition at line 43 of file debug.hh.

◆ traceLevel

size_type dynamicgraph::sot::DebugTrace::traceLevel

Definition at line 46 of file debug.hh.

◆ traceLevelTemplate

size_type dynamicgraph::sot::DebugTrace::traceLevelTemplate

Definition at line 47 of file debug.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32