additional/debug/debug.h File Reference

#include <stdio.h>

Include dependency graph for debug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IJG_Assert(x)   if( !( x ) ) { DebugMessage( "ASSERT FAILED - " #x "\n" ); _asm{ int 3 }; }
#define IJG_AssertMsg(x, msg)   if( !( x ) ) { DebugMessage( "ASSERT FAILED - " #x "\n" ); DebugMessage( msg ); _asm{ int 3 }; }
#define KickOut()   _asm{ int 3 }

Functions

void DebugMessage (const char *message)
void Log (char *fileName, char *format,...)
void LogVector (char *fileName, VectorN &vec, char *szMsg=NULL)
void LogVector (char *fileName, Vector4 &vec, char *szMsg=NULL)
void LogMatrix (char *fileName, Matrixmxn &matrix, char *szMsg=NULL)
void LogMatrix (char *fileName, Matrix4x4 &matrix, char *szMsg=NULL)
void LogMessage (char *fileName, char *szMsg)
void LogConfiguration (char *fileName, Configuration &config)
void LogPath (char *fileName, PA_Points &path)


Define Documentation

#define IJG_Assert  )     if( !( x ) ) { DebugMessage( "ASSERT FAILED - " #x "\n" ); _asm{ int 3 }; }
 

Definition at line 29 of file debug.h.

Referenced by Graph::GraphBase::AddEdge(), R_OpenChain::AppendLink(), PA_Points::AppendPoint(), IGS_Controller::BeginFrame(), IGS_Object::CreateDisplayList(), R_OpenChain::Deserialize(), VrmlNode::GetKeyword(), PL_Juan::GetNAncestors(), Graph::GraphBase::GetNeighbors(), Graph::Graph< NodeData, EdgeData >::GetNodeData(), Graph::GraphBase::GraphBase(), Mesh::Mesh(), OddOneOut(), ServerBase::OpenExampleFile(), VectorN::operator-(), Graph::GraphBase::operator=(), VectorN::operator[](), Vector4::operator[](), Vector2::operator[](), VrmlShape::Parse(), ServerBase::ParseGoalFrames(), ServerBase::ParseRobotFile(), VrmlIndexedFaceSet::ParseSubnode(), Pow(), VRML_20_Reader::Read(), IGS_Object::ReadBinary(), IGS_Circle::Render(), Graph::Astar::Search(), CD_BasicStyle::SetConfiguration(), and TwoToThePower().

#define IJG_AssertMsg x,
msg   )     if( !( x ) ) { DebugMessage( "ASSERT FAILED - " #x "\n" ); DebugMessage( msg ); _asm{ int 3 }; }
 

Definition at line 30 of file debug.h.

Referenced by ServerBase::ParseRobotFile().

 
#define KickOut  )     _asm{ int 3 }
 

Definition at line 33 of file debug.h.

Referenced by ServerBase::RefreshPlanner().


Function Documentation

void DebugMessage const char *  message  ) 
 

Definition at line 22 of file debug.cpp.

void Log char *  fileName,
char *  format,
  ...
 

Definition at line 31 of file debug.cpp.

Referenced by PL_RRT_ClosedChain::CompareJacobianAndRGD(), PL_RRT_ClosedChain::CompareLocalPlanners(), PL_RRT_ClosedChain::ConnectToGoalJacobian(), LogMessage(), LogPath(), PL_ForTest::LogStatistics(), PL_RRT_ClosedChain::OutputStatistics(), and CPassive::ResolveJoints().

void LogConfiguration char *  fileName,
Configuration config
 

Definition at line 143 of file debug.cpp.

References Configuration::DOF().

Referenced by LogPath().

Here is the call graph for this function:

void LogMatrix char *  fileName,
Matrix4x4 matrix,
char *  szMsg = NULL
 

Definition at line 111 of file debug.cpp.

void LogMatrix char *  fileName,
Matrixmxn matrix,
char *  szMsg = NULL
 

Definition at line 86 of file debug.cpp.

References Matrixmxn::GetColumns(), and Matrixmxn::GetRows().

Here is the call graph for this function:

void LogMessage char *  fileName,
char *  szMsg
 

Definition at line 136 of file debug.cpp.

References Log().

Here is the call graph for this function:

void LogPath char *  fileName,
PA_Points path
 

Definition at line 159 of file debug.cpp.

References Log(), LogConfiguration(), and PA_Points::Size().

Here is the call graph for this function:

void LogVector char *  fileName,
Vector4 vec,
char *  szMsg = NULL
 

Definition at line 68 of file debug.cpp.

void LogVector char *  fileName,
VectorN vec,
char *  szMsg = NULL
 

Definition at line 50 of file debug.cpp.

References VectorN::Size().

Here is the call graph for this function:


Generated on Sat Apr 1 21:31:02 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO