23 #ifndef _FIREVISION_APPS_BASE_AQT_VISION_THREADS_H_ 24 #define _FIREVISION_APPS_BASE_AQT_VISION_THREADS_H_ 26 #include <core/threading/thread_list.h> 27 #include <utils/time/time.h> 37 class FvAquisitionThread;
42 friend FvAquisitionThread;
70 std::unique_ptr<fawkes::Barrier> cyclic_barrier;
void wakeup_and_wait_cyclic_threads()
Wakeup and wait for all cyclic threads.
bool has_cont_thread()
Check if there is at least one continuous thread.
Fawkes library namespace.
This is supposed to be the central clock in Fawkes.
bool has_waiting_thread(fawkes::Thread *t)
Check if the given waiting thread is registered.
FvAqtVisionThreads(fawkes::Clock *clock)
Constructor.
A class for handling time.
~FvAqtVisionThreads()
Destructor.
Aquisition-dependant threads.
Thread class encapsulation of pthreads.
void set_prepfin_hold(bool hold)
Set prepfin hold fo cyclic threads.
void set_thread_running(fawkes::Thread *thread)
Mark the thread as running.
void remove_waiting_thread(fawkes::Thread *thread)
Remove waiting thread.
bool has_cyclic_thread()
Check if there is at least one cyclic thread.
bool empty()
Check if there is no thread at all.
void remove_thread(fawkes::Thread *thread)
Remove a thread.
float empty_time()
Get the empty time.
void add_waiting_thread(fawkes::Thread *thread)
Add a thread in waiting state.