Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

error_context.h File Reference


Detailed Description

Definition in file error_context.h.

#include "rutz/fstring.h"
#include "rutz/staticstack.h"

Include dependency graph for error_context.h:

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

Go to the source code of this file.

Namespaces

namespace  rutz

Classes

class  rutz::error_context
 Don't use this class directly; use the GVX_ERR_CONTEXT() macro instead. More...
class  rutz::error_context_entry
 Don't use this class directly; use the GVX_ERR_CONTEXT() macro instead. More...

Defines

#define GVX_ERR_CONTEXT(msg)   rutz::error_context_entry e_c_object_(msg)
 Give some contextual information that can be used if an error message is needed.

Functions

static const char __attribute__ ((used)) vcid_groovx_rutz_error_context_h_utc20051118001406[]


Define Documentation

#define GVX_ERR_CONTEXT msg   )     rutz::error_context_entry e_c_object_(msg)
 

Give some contextual information that can be used if an error message is needed.

The GVX_ERR_CONTEXT() calls form a last-in/last-out stack that describes the call context at any moment, in particular at the moment that an error might occur. If an error does occur, we can capture the call context and report it to the user, (hopefully) making it easier to understand the error and debug the problem.

Definition at line 132 of file error_context.h.

Referenced by TigsJob::addContext(), Context::Context(), FeatureExtractor::extract(), fromARGB(), fromBayer(), fromBayerU16(), fromMono(), fromRGB(), fromRGB555(), fromRGB565(), fromVideoHM12(), fromVideoYUV24(), fromVideoYUV410P(), fromVideoYUV411(), fromVideoYUV411P(), fromVideoYUV420P(), fromVideoYUV422(), fromVideoYUV422P(), fromVideoYUV444(), fromVideoYUV444P(), YuvParser::getFrame(), ModelComponent::getModelParamString(), ModelComponent::getModelParamValAux(), TigsJob::handleFrame(), ChannelBase::input(), SubmapAlgorithm::make(), makeFrameIstream(), makeFrameOstream(), CmdlineOptionManager::parseCommandLineCore(), MrawvDecoder::readFrame(), ModelComponent::setModelParamString(), ModelComponent::setModelParamValAux(), ModelComponent::start(), ModelComponent::stop(), Context::testFrame(), and Context::trainingFrame().


Generated on Fri Nov 21 10:43:21 2008 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4