Image Component Library (ICL)
Classes | Namespaces | Macros
Grabber.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <ICLUtils/SteppingRange.h>
#include <ICLUtils/Function.h>
#include <ICLUtils/Uncopyable.h>
#include <ICLUtils/Configurable.h>
#include <ICLUtils/ProgArg.h>
#include <ICLCore/ImgBase.h>
#include <ICLIO/GrabberDeviceDescription.h>
#include <ICLIO/ImageUndistortion.h>
#include <string>
#include <vector>
#include <set>

Go to the source code of this file.

Classes

class  icl::io::Grabber
 Common interface class for all grabbers. More...
 

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::io
 

Macros

#define REGISTER_GRABBER(NAME, CREATE_FUNC, DEVICE_LIST_FUNC, DESCRIPTION)
 registration macro for grabbers More...
 
#define REGISTER_GRABBER_BUS_RESET_FUNCTION(NAME, BUS_RESET_FUNC)
 

Macro Definition Documentation

◆ 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;