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>
37 friend class FvAquisitionThread;
void wakeup_and_wait_cyclic_threads()
Wakeup and wait for all cyclic threads.
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.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...