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");
Thread class encapsulation of pthreads.
Camera control interface base class.
Camera interface for image aquiring devices in FireVision.
virtual Camera * register_for_camera(const char *camera_string, fawkes::Thread *thread, colorspace_t cspace=YUV422_PLANAR)=0
Register thread for camera.
virtual void release_camctrl(CameraControl *cc)=0
Release a camera control.
virtual CameraControl * acquire_camctrl(const char *cam_string, const std::type_info &typeinf)=0
Retrieve a CameraControl for the specified camera string and type info.
virtual CameraControl * acquire_camctrl(const char *cam_string)=0
Retrieve a CameraControl for the specified camera string.
virtual Camera * register_for_raw_camera(const char *camera_string, fawkes::Thread *thread)=0
Register thread for camera.
virtual ~VisionMaster()
Virtual empty destructor.
virtual void unregister_thread(fawkes::Thread *thread)=0
Unregister a thread.
Fawkes library namespace.