23 #ifndef __PLUGINS_LASER_FILTER_FILTER_THREAD_H_ 24 #define __PLUGINS_LASER_FILTER_FILTER_THREAD_H_ 26 #include "filters/filter.h" 28 #include <core/threading/thread.h> 29 #include <aspect/blocked_timing.h> 30 #include <aspect/logging.h> 31 #include <aspect/configurable.h> 32 #include <aspect/blackboard.h> 34 # include <aspect/tf.h> 42 class Laser360Interface;
43 class Laser720Interface;
44 class Laser1080Interface;
61 virtual void finalize();
66 void set_wait_threads(std::list<LaserFilterThread *> &threads);
83 void open_interfaces(std::string prefix, std::vector<LaserInterface> &ifs,
84 std::vector<LaserDataFilter::Buffer *> &bufs,
bool writing);
87 std::string filter_type, std::string prefix,
88 unsigned int in_data_size,
89 std::vector<LaserDataFilter::Buffer *> &inbufs);
96 std::vector<LaserInterface> __in;
97 std::vector<LaserInterface> __out;
99 std::vector<LaserDataFilter::Buffer *> __in_bufs;
100 std::vector<LaserDataFilter::Buffer *> __out_bufs;
104 std::string __cfg_name;
105 std::string __cfg_prefix;
107 std::list<LaserFilterThread *> __wait_threads;
Laser360Interface Fawkes BlackBoard Interface.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access to BlackBoard.
Wait until a given condition holds.
Laser1080Interface Fawkes BlackBoard Interface.
Fawkes library namespace.
virtual void run()
Code to execute in the thread.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
Thread aspect to use blocked timing.
Thread aspect to log output.
Thread aspect to access configuration data.
Mutex mutual exclusion lock.
Laser720Interface Fawkes BlackBoard Interface.
A barrier is a synchronization tool which blocks until a given number of threads have reached the bar...