23 #ifndef __FIREVISION_APPS_BASE_ACQUISITION_THREAD_H_ 24 #define __FIREVISION_APPS_BASE_ACQUISITION_THREAD_H_ 26 #include <core/threading/thread.h> 28 #include <aspect/logging.h> 29 #include <aspect/blackboard.h> 31 #include <fvcams/shmem.h> 32 #include <fvutils/color/colorspaces.h> 33 #include <blackboard/interface_listener.h> 42 class SwitchInterface;
43 #ifdef FVBASE_TIMETRACKER 48 class SharedMemoryImageBuffer;
74 virtual void finalize();
76 void set_aqtmode(AqtMode mode);
82 void set_vt_prepfin_hold(
bool hold);
83 void set_enabled(
bool enabled);
108 firevision::colorspace_t __colorspace;
109 unsigned int __width;
110 unsigned int __height;
114 std::map<firevision::colorspace_t, firevision::SharedMemoryImageBuffer *> __shm;
115 std::map<firevision::colorspace_t, firevision::SharedMemoryImageBuffer *>::iterator __shmit;
119 #ifdef FVBASE_TIMETRACKER 121 unsigned int __loop_count;
122 unsigned int __ttc_capture;
123 unsigned int __ttc_lock;
124 unsigned int __ttc_convert;
125 unsigned int __ttc_unlock;
126 unsigned int __ttc_dispose;
Thread aspect to access to BlackBoard.
Wait until a given condition holds.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
AqtMode
Acquisition thread mode.
Camera interface for image aquiring devices in FireVision.
Fawkes library namespace.
fawkes::Thread * raw_subscriber_thread
Vision thread registered for raw camera access on this camera.
virtual void run()
Code to execute in the thread.
This is supposed to be the central clock in Fawkes.
FvAqtVisionThreads * vision_threads
Vision threads assigned to this acquisition thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
Aquisition-dependant threads.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
FireVision base application acquisition thread.
SwitchInterface Fawkes BlackBoard Interface.
Thread aspect to log output.
Mutex mutual exclusion lock.
BlackBoard interface listener.