Public Member Functions | Protected Attributes | Private Attributes
Joystick Class Reference

Access a joystick control device. More...

#include <Joystick.h>

Inheritance diagram for Joystick:
Inheritance graph
[legend]

List of all members.

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
joystickm_js

Detailed Description

Access a joystick control device.

Definition at line 44 of file Joystick.h.


Constructor & Destructor Documentation

constructor

Parameters:
managerManeger Object

Definition at line 39 of file Joystick.cpp.

Joystick::~Joystick ( ) [virtual]

destructor

Definition at line 53 of file Joystick.cpp.


Member Function Documentation

Reimplemented from RTC::RTObject_impl.

Definition at line 107 of file Joystick.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 128 of file Joystick.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 137 of file Joystick.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 59 of file Joystick.cpp.


Member Data Documentation

TimedFloatSeq Joystick::m_axes [protected]

Definition at line 237 of file Joystick.h.

OutPort<TimedFloatSeq> Joystick::m_axesOut [protected]

Values of the joystick axes.

  • Type: TimedFloatSeq
  • Number: Variable.
  • Semantics: Axes values normalised to between -1 and 1, with 0 as the cent re.

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.

  • Type: TimedBooleanSeq
  • Number: Variable
  • Semantics: True if a button is pressed, false otherwise.

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.

Definition at line 281 of file Joystick.h.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20