flir.cpp File Reference
#include "flir.h"
#include "sensor_msgs/Image.h"
#include <stdlib.h>
#include <string.h>
#include <stdexcept>
#include <unicap/unicap.h>
#include <unicap/unicap_status.h>
#include <unicap/unicap_version.h>
Go to the source code of this file.
Defines |
| #define | FLIR_EXCEPT(except, msg) |
| | Macro for throwing an exception with a message.
|
| #define | FLIR_EXCEPT_ARGS(except, msg,...) |
| | Macro for throwing an exception with a message, passing args.
|
Define Documentation
| #define FLIR_EXCEPT |
( |
except, |
|
|
msg |
|
) |
|
Value:{ \
char buf[100]; \
snprintf(buf, 100, "[FLIR::%s]: " msg, __FUNCTION__); \
throw except(buf); \
}
Macro for throwing an exception with a message.
Definition at line 35 of file flir.cpp.
| #define FLIR_EXCEPT_ARGS |
( |
except, |
|
|
msg, |
|
|
... |
|
) |
|
Value:{ \
char buf[100]; \
snprintf(buf, 100, "[FLIR::%s]: " msg, __FUNCTION__, __VA_ARGS__); \
throw except(buf); \
}
Macro for throwing an exception with a message, passing args.
Definition at line 43 of file flir.cpp.