error_context.h File Reference

#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.

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...

Namespaces

namespace  rutz
 

Auxiliary helper namespace used in implementing shared_ptr.


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[]

Detailed Description

Definition in file error_context.h.


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 fromARGB(), fromBayer(), fromMono(), fromRGB(), fromRGB555(), fromRGB565(), fromVideoHM12(), fromVideoYUV24(), fromVideoYUV410P(), fromVideoYUV411(), fromVideoYUV411P(), fromVideoYUV420P(), fromVideoYUV422(), fromVideoYUV422P(), fromVideoYUV444(), fromVideoYUV444P(), YuvParser::getFrame(), ModelComponent::getModelParamString(), ModelComponent::getModelParamValAux(), ChannelBase::input(), makeFrameIstream(), makeFrameOstream(), CmdlineOptionManager::parseCommandLineCore(), MrawvDecoder::readFrame(), ModelComponent::setModelParamString(), ModelComponent::setModelParamValAux(), ModelComponent::start(), and ModelComponent::stop().

Generated on Sun May 8 08:17:44 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3