Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_JOYSTICK_ACT_THREAD_H_
24 #define _PLUGINS_JOYSTICK_ACT_THREAD_H_
26 #include <aspect/blackboard.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/configurable.h>
29 #include <aspect/logging.h>
30 #include <core/threading/thread.h>
33 class JoystickInterface;
57 bool joystick_connected_;
81 MessageProcessor *msgproc_;
MessageProcessor(JoystickAcquisitionThread *aqt, fawkes::JoystickInterface *joystick_if)
Constructor.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
Thread aspect to use blocked timing.
Joystick acqusition thread for Linux joystick API.
virtual void finalize()
Finalize the thread.
void process()
Process message currently in the queue.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
Joystick force feedback actuation thread.
Process incoming messages.
JoystickActThread(JoystickAcquisitionThread *aqt, JoystickSensorThread *senst)
Constructor.
Thread class encapsulation of pthreads.
void process_message(fawkes::Message *msg)
Process a single message.
Thread aspect to access configuration data.
virtual void run()
Stub to see name in backtrace for easier debugging.
JoystickInterface Fawkes BlackBoard Interface.