ACT-CV - Machine Vision for Cognitive Modeling
|
exceptions and debugging macros More...
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
class | LineException |
simple exception class holding the line in the file More... | |
class | FileLineException |
simple exception class holding the current line and the file name More... | |
Macros | |
#define | MHDBGMSG(f, l, msg) printf("(DEBUG) %s (%i): %s\n",f,l,msg) |
#define | MHDBGMSG_P(f, l, s, p) printf("(DEBUG) %s (%i): %s %p\n",f,l,s,p) |
#define | MHDBGMSG_I(f, l, s, i) printf("(DEBUG) %s (%i): %s %i\n",f,l,s,i) |
#define | MHDBGMSG_MEM(f, l, p, blocks) |
exceptions and debugging macros
the MHDEBUGMSG macro family is expanded to nothing when NDEBUG is set at compile time
Definition in file mhexcptn.h.
#define MHDBGMSG | ( | f, | |
l, | |||
msg | |||
) | printf("(DEBUG) %s (%i): %s\n",f,l,msg) |
Definition at line 45 of file mhexcptn.h.
Referenced by ActCvInit(), AddRecognition(), JVM::AttachCurrentThread(), OpticalFlow::Calc(), JVM::CreateJVM(), ResultHolder< _t >::FindFinish(), ResultHolder< _t >::FindFirst(), FindFirstLine(), FindFirstMatch(), FindFirstText(), ResultHolder< _t >::FindNext(), FindNextLine(), FindNextMatch(), FindNextText(), FrameObsWindow::FrameNotify(), MatchObs::FrameNotify(), TextObs::FrameNotify(), AttendedLocObs::FrameNotify(), LineObs::FrameNotifyGray(), FrameObsWindow::FrameObsWindow(), OpenCVFrameSource::GetNextFrame(), RobotFrameSource::GetNextFrame(), TestFrameSource::GetNextFrame(), TestLineFrameSource::GetNextFrame(), TestLineFSStaticErr::GetNextFrame(), Robot::GetScreenCapture(), JVM::JVM(), LineFindFinish(), LineObs::LineObs(), JVM::LoadJvmLib(), FrameLoopImpl::Loop(), main(), MatchImage::Match(), MatchFindFinish(), OpenCVFrameSource::OpenCVFrameSource(), OpticalFlow::PrintInfo(), TextObs::RegionInfoNotify(), ReleaseSource(), ReleaseSourceInternal(), Robot::Robot(), OpticalFlow::SelectFeatures(), SelectFileBasedSource(), SelectSource(), SelectSourceInternal(), FrameLoopImpl::SingleFrame(), TestLines(), TestMatch(), TestText(), TextFindFinish(), TextObs::TextObs(), UpdateAttendedLoc(), AttendedLocObs::UpdateAttendedLoc(), AttendedLocObs::UpdateMousePos(), FrameLoopImpl::WaitForFirstFrame(), FrameLoopImpl::WaitForNextFrame(), WaitForNextFrame(), FrameObsWindow::~FrameObsWindow(), JVM::~JVM(), LineObs::~LineObs(), OpticalFlow::~OpticalFlow(), and Robot::~Robot().
#define MHDBGMSG_I | ( | f, | |
l, | |||
s, | |||
i | |||
) | printf("(DEBUG) %s (%i): %s %i\n",f,l,s,i) |
Definition at line 47 of file mhexcptn.h.
Referenced by OpticalFlow::PrintInfo(), and FrameLoopImpl::WaitForNextFrame().
#define MHDBGMSG_MEM | ( | f, | |
l, | |||
p, | |||
blocks | |||
) |
Definition at line 48 of file mhexcptn.h.
#define MHDBGMSG_P | ( | f, | |
l, | |||
s, | |||
p | |||
) | printf("(DEBUG) %s (%i): %s %p\n",f,l,s,p) |
Definition at line 46 of file mhexcptn.h.
Referenced by JVM::CreateJVM(), FrameObsWindow::FrameNotify(), Robot::GetScreenCapture(), Robot::Robot(), and FrameLoopImpl::SingleFrame().