Go to the source code of this file.
|
| icl |
| undocument this line if you encounter any issues!
|
|
| icl::io |
|
◆ REGISTER_GRABBER
#define REGISTER_GRABBER |
( |
|
NAME, |
|
|
|
CREATE_FUNC, |
|
|
|
DEVICE_LIST_FUNC, |
|
|
|
DESCRIPTION |
|
) |
| |
Value:struct StaticGrabberRegistrationFor_##NAME{ \
StaticGrabberRegistrationFor_##NAME(){ \
icl::io::GrabberRegister::getInstance() -> registerGrabberType(#NAME, CREATE_FUNC, DEVICE_LIST_FUNC); \
icl::io::GrabberRegister::getInstance() -> addGrabberDescription(DESCRIPTION); \
} \
} staticGrabberRegistrationFor_##NAME;
registration macro for grabbers
- See also
- Configurable Registration
◆ REGISTER_GRABBER_BUS_RESET_FUNCTION
#define REGISTER_GRABBER_BUS_RESET_FUNCTION |
( |
|
NAME, |
|
|
|
BUS_RESET_FUNC |
|
) |
| |
Value:struct StaticGrabberBusResetRegistrationFor_##NAME{ \
StaticGrabberBusResetRegistrationFor_##NAME(){ \
icl::io::GrabberRegister::getInstance() -> registerGrabberBusReset(#NAME, BUS_RESET_FUNC); \
} \
} staticGrabberBusResetRegistrationFor_##NAME;