Namespaces | Defines
Camera.cpp File Reference
#include "ueye/Camera.h"
Include dependency graph for Camera.cpp:

Go to the source code of this file.

Namespaces

namespace  ueye

Defines

#define CHECK_ERR(fnc)
#define DEBUG_ERROR_CHECKS   0

Define Documentation

#define CHECK_ERR (   fnc)
Value:
do {                                                            \
        IS_CHAR* msg;                                                                                   \
        int err = fnc;                                          \
        if (err != IS_SUCCESS) {                                                                \
                if (hCam_ != 0){                                                                        \
                        is_GetError(hCam_, &err, &msg);                                 \
                        if(err != IS_SUCCESS){                                                  \
                                throw uEyeException(err, msg);                          \
                        }                                                                                               \
                }else{                                                                                          \
                        throw uEyeException(err, "Camera failed to initialize");\
                }                                                                                                       \
        }                                                       \
} while (false)

Definition at line 44 of file Camera.cpp.

#define DEBUG_ERROR_CHECKS   0

Definition at line 39 of file Camera.cpp.



ueye
Author(s): Kevin Hallenbeck
autogenerated on Tue Jan 7 2014 11:40:31