Fawkes API
Fawkes Development Version
|
#include "acquisition_thread.h"
Public Member Functions | |
virtual | ~JoystickBlackBoardHandler () |
Virtual empty destructor. More... | |
virtual void | joystick_changed (unsigned int pressed_buttons, float *axis_values)=0 |
virtual void | joystick_plugged (char num_axes, char num_buttons)=0 |
virtual void | joystick_unplugged ()=0 |
Handler class for joystick data. This interface allows to plug a generic handler to the JoystickAcquisitionThread via the alternative constructor. This can be used to directly instantiate the acquisition thread outside of Fawkes.
Definition at line 25 of file bb_handler.h.
|
virtual |
Virtual empty destructor.
Definition at line 46 of file bb_handler.cpp.
|
pure virtual |
Joystick data changed.
pressed_buttons | the new pressed_buttons array |
axis_values | array of axis values, the length is at least num_axes() |
Implemented in JoystickRemoteBlackBoardPoster.
Referenced by JoystickAcquisitionThread::loop().
|
pure virtual |
A (new) joystick has been plugged in
num_axes | number of axes |
num_buttons | number of buttons |
Implemented in JoystickRemoteBlackBoardPoster.
|
pure virtual |
The joystick has been unplugged and is no longer available.
Implemented in JoystickRemoteBlackBoardPoster.
Referenced by JoystickAcquisitionThread::loop().