Fawkes API
Fawkes Development Version
|
23 #ifndef _FIREVISION_APPS_BASE_BASE_THREAD_H_
24 #define _FIREVISION_APPS_BASE_BASE_THREAD_H_
26 #include <aspect/blocked_timing.h>
27 #include <aspect/clock.h>
28 #include <aspect/configurable.h>
29 #include <aspect/logging.h>
30 #include <aspect/thread_producer.h>
31 #include <aspect/vision_master.h>
32 #include <core/threading/thread.h>
33 #include <core/threading/thread_notification_listener.h>
34 #include <core/utils/lock_list.h>
35 #include <core/utils/lock_map.h>
36 #include <fvutils/base/vision_master.h>
68 firevision::colorspace_t cspace = firevision::YUV422_PLANAR);
89 const std::type_info &typeinf);
92 void cond_recreate_barrier(
unsigned int num_cyclic_threads);
98 unsigned int aqt_timeout_;
virtual void release_camctrl(firevision::CameraControl *cc)
Release a camera control.
Camera control interface base class.
virtual firevision::Camera * register_for_raw_camera(const char *camera_string, fawkes::Thread *thread)
Register thread for camera.
virtual void loop()
Thread loop.
FireVision base application acquisition thread.
Aspect for thread producing threads.
Thread aspect to use blocked timing.
virtual bool thread_init_failed(fawkes::Thread *thread)
Thread initialization failed.
virtual void run()
Stub to see name in backtrace for easier debugging.
FvBaseThread()
Constructor.
Thread notification listener interface.
Fawkes library namespace.
Thread aspect to log output.
virtual bool thread_started(fawkes::Thread *thread)
Thread started successfully.
virtual firevision::CameraControl * acquire_camctrl(const char *cam_string)
Retrieve a CameraControl for the specified camera string.
virtual void init()
Initialize the thread.
virtual firevision::Camera * register_for_camera(const char *camera_string, fawkes::Thread *thread, firevision::colorspace_t cspace=firevision::YUV422_PLANAR)
Register thread for camera.
virtual void unregister_thread(fawkes::Thread *thread)
Unregister a thread.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
Thread aspect to access configuration data.
Camera interface for image aquiring devices in FireVision.
virtual ~FvBaseThread()
Destructor.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...
virtual firevision::VisionMaster * vision_master()
Get vision master.
Thread aspect that allows to obtain the current time from the clock.