23 #ifndef __PLUGINS_JOYSTICK_SENSOR_THREAD_H_
24 #define __PLUGINS_JOYSTICK_SENSOR_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/logging.h>
29 #include <aspect/configurable.h>
30 #include <aspect/blackboard.h>
33 class JoystickInterface;
57 protected:
virtual void run() { Thread::run(); }
Thread aspect to access to BlackBoard.
virtual void loop()
Code to execute in the thread.
JoystickInterface Fawkes BlackBoard Interface.
JoystickSensorThread(JoystickAcquisitionThread *aqt)
Constructor.
Thread class encapsulation of pthreads.
Joystick acqusition thread for Linux joystick API.
Thread aspect to use blocked timing.
virtual void init()
Initialize the thread.
fawkes::JoystickInterface * joystick_interface() const
Get joystick interface.
Thread aspect to log output.
virtual void finalize()
Finalize the thread.
Thread aspect to access configuration data.
virtual void run()
Stub to see name in backtrace for easier debugging.