Access a joystick control device. More...
#include <Joystick.h>
Public Member Functions | |
Joystick (RTC::Manager *manager) | |
constructor | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
virtual | ~Joystick () |
destructor | |
Protected Attributes | |
TimedFloatSeq | m_axes |
OutPort< TimedFloatSeq > | m_axesOut |
TimedBooleanSeq | m_buttons |
OutPort< TimedBooleanSeq > | m_buttonsOut |
Private Attributes | |
unsigned int | m_debugLevel |
std::string | m_device |
joystick * | m_js |
Access a joystick control device.
Definition at line 44 of file Joystick.h.
Joystick::Joystick | ( | RTC::Manager * | manager | ) |
Joystick::~Joystick | ( | ) | [virtual] |
destructor
Definition at line 53 of file Joystick.cpp.
RTC::ReturnCode_t Joystick::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 107 of file Joystick.cpp.
RTC::ReturnCode_t Joystick::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 128 of file Joystick.cpp.
RTC::ReturnCode_t Joystick::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 137 of file Joystick.cpp.
RTC::ReturnCode_t Joystick::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 59 of file Joystick.cpp.
TimedFloatSeq Joystick::m_axes [protected] |
Definition at line 237 of file Joystick.h.
OutPort<TimedFloatSeq> Joystick::m_axesOut [protected] |
Values of the joystick axes.
Definition at line 245 of file Joystick.h.
TimedBooleanSeq Joystick::m_buttons [protected] |
Definition at line 246 of file Joystick.h.
OutPort<TimedBooleanSeq> Joystick::m_buttonsOut [protected] |
Joystick button values.
Definition at line 253 of file Joystick.h.
unsigned int Joystick::m_debugLevel [private] |
Definition at line 283 of file Joystick.h.
std::string Joystick::m_device [private] |
Definition at line 282 of file Joystick.h.
joystick* Joystick::m_js [private] |
Definition at line 281 of file Joystick.h.