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