Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes
jafar::vme::VmeException Class Reference

Base class for all exceptions defined in the module vme. More...


Detailed Description

Base class for all exceptions defined in the module vme.

Definition at line 17 of file vmeException.hpp.

#include <vmeException.hpp>

Inheritance diagram for jafar::vme::VmeException:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ExceptionId { NO_PREVIOUS_3DPOINT, NO_POINT_TRACKED, NO_STEREO_MATCH, NOT_ENOUGH_3DPOINT_PAIRS }
 This enumeration defines exceptions id for the module vme. More...

Public Member Functions

 VmeException (ExceptionId id_, const std::string &message_, const std::string &file_, int line_) throw ()
 Constructor.
ExceptionId getExceptionId () const throw ()

Static Protected Member Functions

static std::string exceptionIdToString (ExceptionId id_) throw ()

Protected Attributes

ExceptionId id

Member Enumeration Documentation

This enumeration defines exceptions id for the module vme.

Enumerator:
NO_PREVIOUS_3DPOINT 

no 3D points were computed at previous frame

NO_POINT_TRACKED 

zero point are tracked between frames t and t+1

NO_STEREO_MATCH 

zero point are matched between left and right image

NOT_ENOUGH_3DPOINT_PAIRS 

not enough 3D point pairs to start the minimisation process

Definition at line 24 of file vmeException.hpp.


Constructor & Destructor Documentation

jafar::vme::VmeException::VmeException ( ExceptionId  id_,
const std::string &  message_,
const std::string &  file_,
int  line_ 
) throw ()

Constructor.

You should not use this constructor directly, prefer macros jfrThrowEx or jfrCreateEx which fill for you parameters file_ and line_.

Parameters:
id_exception id
message_message used for debug
file_where the exception was thrown
line_where the exception was thrown

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:52 for Jafar by doxygen 1.7.6.1
LAAS-CNRS