sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
debug.hh File Reference
#include <cstdarg>
#include <cstdio>
#include <fstream>
#include <sstream>
#include "sot/core/api.hh"
Include dependency graph for debug.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dynamicgraph::sot::DebugTrace
 

Namespaces

 dynamicgraph
 
 dynamicgraph::sot
 

Macros

#define VP_DEBUG_MODE   0
 
#define VP_TEMPLATE_DEBUG_MODE   0
 VP_DEBUG_MODE. More...
 
#define SOT_COMMON_TRACES
 VP_TEMPLATE_DEBUG_MODE. More...
 
#define sotPREERROR    "\t!! " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") :"
 
#define sotDEBUG(level)
 
#define sotDEBUGMUTE(level)
 
#define sotERROR   sotERRORFLOW.outputbuffer << sotPREERROR
 
#define sotTDEBUG(level)
 
#define sotDEBUG_ENABLE(level)   false
 
#define sotTDEBUG_ENABLE(level)   false
 
#define sotDEBUGIN(level)   sotDEBUG(level) << "# In {" << std::endl
 
#define sotDEBUGOUT(level)   sotDEBUG(level) << "# Out }" << std::endl
 
#define sotDEBUGINOUT(level)   sotDEBUG(level) << "# In/Out { }" << std::endl
 
#define sotTDEBUGIN(level)   sotTDEBUG(level) << "# In {" << std::endl
 
#define sotTDEBUGOUT(level)   sotTDEBUG(level) << "# Out }" << std::endl
 
#define sotTDEBUGINOUT(level)   sotTDEBUG(level) << "# In/Out { }" << std::endl
 

Functions

void dynamicgraph::sot::sotDEBUGF (const int, const char *,...)
 
void dynamicgraph::sot::sotDEBUGF (const char *,...)
 
void dynamicgraph::sot::sotERRORF (const int, const char *,...)
 
void dynamicgraph::sot::sotERRORF (const char *,...)
 
std::ostream & dynamicgraph::sot::__null_stream ()
 
void dynamicgraph::sot::sotTDEBUGF (const int, const char *,...)
 
void dynamicgraph::sot::sotTDEBUGF (const char *,...)
 

Variables

SOT_CORE_EXPORT DebugTrace dynamicgraph::sot::sotDEBUGFLOW
 
SOT_CORE_EXPORT DebugTrace dynamicgraph::sot::sotERRORFLOW
 

Macro Definition Documentation

◆ SOT_COMMON_TRACES

#define SOT_COMMON_TRACES
Value:
do { \
va_list arg; \
va_start(arg, format); \
vsnprintf(charbuffer, SIZE, format, arg); \
va_end(arg); \
outputbuffer << tmpbuffer.str() << charbuffer << std::endl; \
} while (0)

VP_TEMPLATE_DEBUG_MODE.

◆ sotDEBUG

#define sotDEBUG (   level)
Value:
if (1) \
; \
std::ostream & __null_stream()
Definition: debug.hh:183

◆ sotDEBUG_ENABLE

#define sotDEBUG_ENABLE (   level)    false

◆ sotDEBUGIN

#define sotDEBUGIN (   level)    sotDEBUG(level) << "# In {" << std::endl

◆ sotDEBUGINOUT

#define sotDEBUGINOUT (   level)    sotDEBUG(level) << "# In/Out { }" << std::endl

◆ sotDEBUGMUTE

#define sotDEBUGMUTE (   level)

◆ sotDEBUGOUT

#define sotDEBUGOUT (   level)    sotDEBUG(level) << "# Out }" << std::endl

◆ sotERROR

#define sotERROR   sotERRORFLOW.outputbuffer << sotPREERROR

◆ sotPREERROR

#define sotPREERROR    "\t!! " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") :"

◆ sotTDEBUG

#define sotTDEBUG (   level)

◆ sotTDEBUG_ENABLE

#define sotTDEBUG_ENABLE (   level)    false

◆ sotTDEBUGIN

#define sotTDEBUGIN (   level)    sotTDEBUG(level) << "# In {" << std::endl

◆ sotTDEBUGINOUT

#define sotTDEBUGINOUT (   level)    sotTDEBUG(level) << "# In/Out { }" << std::endl

◆ sotTDEBUGOUT

#define sotTDEBUGOUT (   level)    sotTDEBUG(level) << "# Out }" << std::endl

◆ VP_DEBUG_MODE

#define VP_DEBUG_MODE   0

◆ VP_TEMPLATE_DEBUG_MODE

#define VP_TEMPLATE_DEBUG_MODE   0

VP_DEBUG_MODE.