Loading...
Searching...
No Matches
debug.hh File Reference
#include <roboptim/core/sys.hh>
#include <iostream>
#include <cstdlib>
#include <roboptim/core/debug.hh>

Macros

#define AllocTag1(p)
 
#define AllocTag2(p, desc)
 
#define AllocTag_dynamic_description(p, data)
 
#define AllocTag(p, data)
 
#define Debug(STATEMENT)
 
#define Dout(cntrl, data)
 
#define DoutFatal(cntrl, data)   LibcwDoutFatal(, , cntrl, data)
 
#define ForAllDebugChannels(STATEMENT)
 
#define ForAllDebugObjects(STATEMENT)
 
#define LibcwDebug(dc_namespace, STATEMENT)
 
#define LibcwDout(dc_namespace, d, cntrl, data)
 
#define LibcwDoutFatal(dc_namespace, d, cntrl, data)    do { ::std::cerr << data << ::std::endl; ::std::exit(EXIT_FAILURE); } while(1)
 
#define LibcwdForAllDebugChannels(dc_namespace, STATEMENT)
 
#define LibcwdForAllDebugObjects(dc_namespace, STATEMENT)
 
#define NEW(x)   new x
 
#define CWDEBUG_ALLOC   0
 
#define CWDEBUG_MAGIC   0
 
#define CWDEBUG_LOCATION   0
 
#define CWDEBUG_LIBBFD   0
 
#define CWDEBUG_DEBUG   0
 
#define CWDEBUG_DEBUGOUTPUT   0
 
#define CWDEBUG_DEBUGM   0
 
#define CWDEBUG_DEBUGT   0
 
#define CWDEBUG_MARKER   0
 
#define ROBOPTIM_CORE_INTERNAL
 
#define DEBUGCHANNELS   roboptim::debug::channels
 

Macro Definition Documentation

◆ AllocTag

#define AllocTag ( p,
data )

◆ AllocTag1

#define AllocTag1 ( p)

◆ AllocTag2

#define AllocTag2 ( p,
desc )

◆ AllocTag_dynamic_description

#define AllocTag_dynamic_description ( p,
data )

◆ CWDEBUG_ALLOC

#define CWDEBUG_ALLOC   0

◆ CWDEBUG_DEBUG

#define CWDEBUG_DEBUG   0

◆ CWDEBUG_DEBUGM

#define CWDEBUG_DEBUGM   0

◆ CWDEBUG_DEBUGOUTPUT

#define CWDEBUG_DEBUGOUTPUT   0

◆ CWDEBUG_DEBUGT

#define CWDEBUG_DEBUGT   0

◆ CWDEBUG_LIBBFD

#define CWDEBUG_LIBBFD   0

◆ CWDEBUG_LOCATION

#define CWDEBUG_LOCATION   0

◆ CWDEBUG_MAGIC

#define CWDEBUG_MAGIC   0

◆ CWDEBUG_MARKER

#define CWDEBUG_MARKER   0

◆ Debug

#define Debug ( STATEMENT)

◆ DEBUGCHANNELS

#define DEBUGCHANNELS   roboptim::debug::channels

◆ Dout

#define Dout ( cntrl,
data )

◆ DoutFatal

#define DoutFatal ( cntrl,
data )   LibcwDoutFatal(, , cntrl, data)

◆ ForAllDebugChannels

#define ForAllDebugChannels ( STATEMENT)

◆ ForAllDebugObjects

#define ForAllDebugObjects ( STATEMENT)

◆ LibcwDebug

#define LibcwDebug ( dc_namespace,
STATEMENT )

◆ LibcwdForAllDebugChannels

#define LibcwdForAllDebugChannels ( dc_namespace,
STATEMENT )

◆ LibcwdForAllDebugObjects

#define LibcwdForAllDebugObjects ( dc_namespace,
STATEMENT )

◆ LibcwDout

#define LibcwDout ( dc_namespace,
d,
cntrl,
data )

◆ LibcwDoutFatal

#define LibcwDoutFatal ( dc_namespace,
d,
cntrl,
data )    do { ::std::cerr << data << ::std::endl; ::std::exit(EXIT_FAILURE); } while(1)

◆ NEW

#define NEW ( x)    new x

◆ ROBOPTIM_CORE_INTERNAL

#define ROBOPTIM_CORE_INTERNAL