24 #ifndef _FIREVISION_FVUTILS_BASE_VISION_MASTER_H_ 25 #define _FIREVISION_FVUTILS_BASE_VISION_MASTER_H_ 27 #include <core/exceptions/software.h> 28 #include <core/utils/refptr.h> 29 #include <fvcams/control/control.h> 30 #include <fvutils/color/colorspaces.h> 36 class TypeMismatchException;
39 namespace firevision {
50 colorspace_t cspace = YUV422_PLANAR) = 0;
118 const std::type_info &t =
typeid(CC);
120 CC * tcc = dynamic_cast<CC *>(pcc);
128 "not match desired type");
136 const std::type_info &t =
typeid(CC);
138 CC * tcc = dynamic_cast<CC *>(pcc);
144 "not match desired type");
153 CC * tcc = dynamic_cast<CC *>(camera);
159 "not match desired type");
virtual CameraControl * acquire_camctrl(const char *cam_string)=0
Retrieve a CameraControl for the specified camera string.
Camera interface for image aquiring devices in FireVision.
Fawkes library namespace.
Thread class encapsulation of pthreads.
virtual ~VisionMaster()
Virtual empty destructor.
virtual void release_camctrl(CameraControl *cc)=0
Release a camera control.
virtual void unregister_thread(fawkes::Thread *thread)=0
Unregister a thread.
Camera control interface base class.
virtual Camera * register_for_camera(const char *camera_string, fawkes::Thread *thread, colorspace_t cspace=YUV422_PLANAR)=0
Register thread for camera.
virtual Camera * register_for_raw_camera(const char *camera_string, fawkes::Thread *thread)=0
Register thread for camera.