#include <cstdio>
#include <cstdarg>
#include <iostream>
#include <fstream>
#include <sstream>
#include <dynamic-graph/fwd.hh>
#include <dynamic-graph/dynamic-graph-api.h>
Classes | |
class | dynamicgraph::DebugTrace |
Logging class. More... | |
Namespaces | |
namespace | dynamicgraph |
WIN32. | |
Defines | |
#define | VP_DEBUG_MODE 0 |
#define | VP_TEMPLATE_DEBUG_MODE 0 |
VP_DEBUG_MODE. | |
#define | DG_COMMON_TRACES |
VP_TEMPLATE_DEBUG_MODE. | |
#define | dgPREERROR "\t!! "<<__FILE__ << ": " <<__FUNCTION__ << "(#" << __LINE__ << ") :" |
#define | dgDEBUG(level) |
#define | dgDEBUGMUTE |
#define | dgERROR dgERRORFLOW.outputbuffer << dgPREERROR |
#define | dgTDEBUG(level) |
#define | dgDEBUG_ENABLE(level) false |
#define | dgTDEBUG_ENABLE(level) false |
#define | dgDEBUGIN(level) dgDEBUG(level) << "# In {" << std::endl |
VP_DEBUG. | |
#define | dgDEBUGOUT(level) dgDEBUG(level) << "# Out }" << std::endl |
#define | dgDEBUGINOUT(level) dgDEBUG(level) << "# In/Out { }" << std::endl |
#define | dgTDEBUGIN(level) dgTDEBUG(level) << "# In {" << std::endl |
#define | dgTDEBUGOUT(level) dgTDEBUG(level) << "# Out }" << std::endl |
#define | dgTDEBUGINOUT(level) dgTDEBUG(level) << "# In/Out { }" << std::endl |
Functions | |
void | dgDEBUGF (const int, const char *,...) |
void | dgDEBUGF (const char *,...) |
void | dgERRORF (const int, const char *,...) |
void | dgERRORF (const char *,...) |
void | dgTDEBUGF (const int, const char *,...) |
void | dgTDEBUGF (const char *,...) |
Variables | |
DYNAMIC_GRAPH_DLLAPI DebugTrace | dynamicgraph::dgDEBUGFLOW |
DYNAMIC_GRAPH_DLLAPI DebugTrace | dynamicgraph::dgERRORFLOW |
#define DG_COMMON_TRACES |
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.
Referenced by dynamicgraph::DebugTrace::trace(), and dynamicgraph::DebugTrace::traceTemplate().
#define dgDEBUG | ( | level | ) |
if (1) \
; \
else \
std::cout
#define dgDEBUG_ENABLE | ( | level | ) | false |
#define dgDEBUGIN | ( | level | ) | dgDEBUG(level) << "# In {" << std::endl |
VP_DEBUG.
#define dgDEBUGINOUT | ( | level | ) | dgDEBUG(level) << "# In/Out { }" << std::endl |
#define dgDEBUGMUTE |
(level) \
if (1) \
; \
else \
std::cout
#define dgDEBUGOUT | ( | level | ) | dgDEBUG(level) << "# Out }" << std::endl |
#define dgERROR dgERRORFLOW.outputbuffer << dgPREERROR |
#define dgPREERROR "\t!! "<<__FILE__ << ": " <<__FUNCTION__ << "(#" << __LINE__ << ") :" |
#define dgTDEBUG | ( | level | ) |
if (1) \
; \
else \
std::cout
Referenced by dynamicgraph::TimeDependency< Time >::needUpdate(), and dynamicgraph::SignalPtr< T, Time >::plug().
#define dgTDEBUG_ENABLE | ( | level | ) | false |
#define dgTDEBUGIN | ( | level | ) | dgTDEBUG(level) << "# In {" << std::endl |
#define dgTDEBUGINOUT | ( | level | ) | dgTDEBUG(level) << "# In/Out { }" << std::endl |
#define dgTDEBUGOUT | ( | level | ) | dgTDEBUG(level) << "# Out }" << std::endl |
Referenced by dynamicgraph::SignalPtr< T, Time >::access(), dynamicgraph::SignalPtr< T, Time >::display(), dynamicgraph::SignalPtr< T, Time >::displayDependencies(), dynamicgraph::SignalPtr< T, Time >::getPtr(), dynamicgraph::TimeDependency< Time >::needUpdate(), and dynamicgraph::SignalPtr< T, Time >::plug().
#define VP_DEBUG_MODE 0 |
#define VP_TEMPLATE_DEBUG_MODE 0 |
VP_DEBUG_MODE.
void dgDEBUGF | ( | const int | , |
const char * | , | ||
... | |||
) | [inline] |
void dgDEBUGF | ( | const char * | , |
... | |||
) | [inline] |
void dgERRORF | ( | const int | , |
const char * | , | ||
... | |||
) | [inline] |
void dgERRORF | ( | const char * | , |
... | |||
) | [inline] |
void dgTDEBUGF | ( | const int | , |
const char * | , | ||
... | |||
) | [inline] |
void dgTDEBUGF | ( | const char * | , |
... | |||
) | [inline] |