Public Member Functions
CPmdCameraException Class Reference

Camera driver Exception. More...

#include <pmdcamera_exceptions.h>

List of all members.

Public Member Functions

 CPmdCameraException (const std::string &where, const std::string &error_msg)
 Class constructor.

Detailed Description

Camera driver Exception.

This class is used to report errors of the camera driver which are not caused by calls to the pmdaccess library functions. These errors are normally caused by providing incorrect parameters to the driver functions, attempting to perform invalid operations or performing a sequence of operations in the incorrect order.

This class is only provided to help distinguish between internal firewire errors and errors of the driver itself, but it does not add any additional feature over the base class CPmdCameraException.

Definition at line 48 of file pmdcamera_exceptions.h.


Constructor & Destructor Documentation

CPmdCameraException::CPmdCameraException ( const std::string &  where,
const std::string &  error_msg 
)

Class constructor.

This constructor initializes the error message by calling the constructor of the base class. In this case, "[Exception caught] - " is also pre-appended to the error message to label it as an exception.

Parameters:
wherea null terminated string with the information about the name of the function, the source code filename and the line where the exception was generated. This string must be generated by the _HERE_ macro.
error_msga null terminated string that contains the error message. This string may have any valid character and there is no limit on its length.

Definition at line 17 of file pmdcamera_exceptions.cpp.


The documentation for this class was generated from the following files:


iri_pmdcamera
Author(s): Guillem Alenya - IRI Robotics Lab
autogenerated on Fri Dec 6 2013 20:10:05