#include "Tools/Debugging/DebugKeyTable.h"
#include "Tools/MessageQueue/OutMessage.h"
Include dependency graph for Debugging.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | INFO(key, type, format, expression) |
A macro for sending debug messages depending on a debug key. | |
#define | OUTPUT(type, format, expression) |
A macro for sending debug messages. | |
#define | WATCH(key, type, format, expression) INFO(key,type,format,expression); |
A macro for sending debug messages that differs between Windows and Aperios. | |
Functions | |
void | initDebugging (OutMessage *queue, DebugKeyTable *table) |
Sets a pointer to an OutMessage and to a DebugKeyTable to be used by the macros. | |
OutMessage & | getDebugOut () |
Returns a reference to a process wide OutMessage. | |
DebugKeyTable & | getDebugKeyTable () |
Returns a reference to a process wide debug key table. |
Definition in file Debugging.h.
|
Value: if (getDebugKeyTable().isActive(DebugKeyTable::key)) {\ getDebugOut().format << expression;\ getDebugOut().finishMessage(type);\ }\
|
|
|
A macro for sending debug messages that differs between Windows and Aperios. The parameters equal to the parameters if the INFO macro. Different from INFO, the output is sent automatically on the WIN32 platform Definition at line 103 of file Debugging.h. Referenced by Logger::main(), and Cognition::main(). |
|
Sets a pointer to an OutMessage and to a DebugKeyTable to be used by the macros.
Definition at line 18 of file Debugging.cpp. References debugKeyTable, debugOut, and PlatformProcess::getIndex(). Referenced by Process::Process(). |
Here is the call graph for this function:
|
Returns a reference to a process wide OutMessage.
Definition at line 25 of file Debugging.cpp. References debugOut, and PlatformProcess::getIndex(). Referenced by CalibrationIndividual::dump(), BBInvKinIndividual::dump(), BB2004Calibrator::evolve(), GT2004BallLocator::handleMessage(), BB2004InvKinWalkingEngine::learn(), GTXabsl2EngineExecutor::sendDebugMessage(), and GT2004BallLocator::sendProcessModelStates(). |
Here is the call graph for this function:
|
Returns a reference to a process wide debug key table.
Definition at line 30 of file Debugging.cpp. References debugKeyTable, and PlatformProcess::getIndex(). Referenced by GTXabsl2EngineExecutor::executeEngine(), BB2004InvKinWalkingEngine::executeParameterized(), and BB2004InvKinWalkingEngine::updateOdometry(). |
Here is the call graph for this function: