#include <JoypadControlClient/JoypadControlClient.h>
Inheritance diagram for JoypadControlClient:Definition at line 43 of file JoypadControlClient.h.
Public Member Functions | |
| JoypadControlClient () | |
| JoypadControlClient (const JoypadControlClient &)=delete | |
| JoypadControlClient (JoypadControlClient &&)=delete | |
| JoypadControlClient & | operator= (const JoypadControlClient &)=delete |
| JoypadControlClient & | operator= (JoypadControlClient &&)=delete |
| ~JoypadControlClient () override=default | |
| bool | open (yarp::os::Searchable &config) override |
| Open the DeviceDriver. More... | |
| bool | close () override |
| Close the DeviceDriver. More... | |
| bool | getRawAxisCount (unsigned int &axis_count) override |
| bool | getRawButtonCount (unsigned int &button_count) override |
| bool | getRawTrackballCount (unsigned int &Trackball_count) override |
| bool | getRawHatCount (unsigned int &Hat_count) override |
| bool | getRawTouchSurfaceCount (unsigned int &touch_count) override |
| bool | getRawStickCount (unsigned int &stick_count) override |
| bool | getRawStickDoF (unsigned int stick_id, unsigned int &DoF) override |
| bool | getRawButton (unsigned int button_id, float &value) override |
| bool | getRawTrackball (unsigned int trackball_id, yarp::sig::Vector &value) override |
| bool | getRawHat (unsigned int hat_id, unsigned char &value) override |
| bool | getRawAxis (unsigned int axis_id, double &value) override |
| bool | getRawStick (unsigned int stick_id, yarp::sig::Vector &value, JoypadCtrl_coordinateMode coordinate_mode) override |
| bool | getRawTouch (unsigned int touch_id, yarp::sig::Vector &value) override |
Public Member Functions inherited from yarp::dev::IJoypadEventDriven | |
| bool | getAxisCount (unsigned int &axis_count) override final |
| Get number of Axes. More... | |
| bool | getButtonCount (unsigned int &button_count) override final |
| Get number of Buttons. More... | |
| bool | getTrackballCount (unsigned int &Trackball_count) override final |
| Get number of trackballs. More... | |
| bool | getHatCount (unsigned int &Hat_count) override final |
| Get number of Hats. More... | |
| bool | getTouchSurfaceCount (unsigned int &touch_count) override final |
| get the number of touch surface. More... | |
| bool | getStickCount (unsigned int &stick_count) override final |
| get the number of the sticks More... | |
| bool | getStickDoF (unsigned int stick_id, unsigned int &DoF) override final |
| Get the Degree Of Freedom count for desired stick. More... | |
| bool | getButton (unsigned int button_id, float &value) override final |
| Get the value of a button. More... | |
| bool | getTrackball (unsigned int trackball_id, yarp::sig::Vector &value) override final |
| Get the axes change of a Trackball. More... | |
| bool | getHat (unsigned int hat_id, unsigned char &value) override final |
| Get the value of an Hat. More... | |
| bool | getAxis (unsigned int axis_id, double &value) override final |
| Get the value of an axis if present, return false otherwise. More... | |
| bool | getStick (unsigned int stick_id, yarp::sig::Vector &value, JoypadCtrl_coordinateMode coordinate_mode) override final |
| Get the value of a stick if present, return false otherwise. More... | |
| bool | getTouch (unsigned int touch_id, yarp::sig::Vector &value) override final |
| Get the value of a touch if present, return false otherwise. More... | |
| IJoypadEventDriven () | |
| IJoypadEventDriven (int rate) | |
| IJoypadEventDriven (double period) | |
| bool | threadInit () override final |
| Initialization method. More... | |
| void | run () override final |
| Loop function. More... | |
| bool | eventDriven (bool enable, yarp::dev::IJoypadEvent *event=nullptr) override |
| Activate event Driven mode. More... | |
| bool | isEventDriven () override |
Public Member Functions inherited from yarp::dev::IJoypadController | |
| virtual | ~IJoypadController () |
| Destructor. More... | |
Public Member Functions inherited from yarp::dev::DeviceDriver | |
| ~DeviceDriver () override=default | |
| Destructor. More... | |
| template<class T > | |
| bool | view (T *&x) |
| Get an interface to the device driver. More... | |
| virtual DeviceDriver * | getImplementation () |
| Some drivers are bureaucrats, pointing at others. More... | |
Public Member Functions inherited from yarp::os::IConfig | |
| virtual | ~IConfig () |
| Destructor. More... | |
| virtual bool | configure (Searchable &config) |
| Change online parameters. More... | |
Additional Inherited Members | |
Public Types inherited from yarp::dev::IJoypadEventDriven | |
| enum | JoypadCtrl_coordinateMode |
Public Types inherited from yarp::dev::IJoypadController | |
| enum | JoypadCtrl_coordinateMode { JypCtrlcoord_POLAR = 0 , JypCtrlcoord_CARTESIAN = 1 } |
Protected Member Functions inherited from yarp::dev::IJoypadEventDriven | |
| virtual bool | executeAction (int action_id) |
| virtual bool | parseActions (const yarp::os::Searchable &cfg, int *count=nullptr) |
Protected Member Functions inherited from yarp::dev::IJoypadController | |
| virtual bool | parseActions (const yarp::os::Searchable &cfg, int *count=nullptr) |
| virtual bool | executeAction (int action_id) |
Protected Attributes inherited from yarp::dev::IJoypadEventDriven | |
| std::map< int, std::string > | m_actions |
Protected Attributes inherited from yarp::dev::IJoypadController | |
| std::map< int, std::string > | m_actions |
| JoypadControlClient::JoypadControlClient | ( | ) |
Definition at line 24 of file JoypadControlClient.cpp.
|
delete |
|
delete |
|
overridedefault |
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 537 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 382 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 221 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 266 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 216 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 345 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 231 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 421 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 241 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 246 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 497 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 236 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 305 of file JoypadControlClient.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 226 of file JoypadControlClient.cpp.
|
overridevirtual |
Open the DeviceDriver.
| config | is a list of parameters for the device. Which parameters are effective for your device can vary. See device invocation examples. If there is no example for your device, you can run the "yarpdev" program with the verbose flag set to probe what parameters the device is checking. If that fails too, you'll need to read the source code (please nag one of the yarp developers to add documentation for your device). |
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 98 of file JoypadControlClient.cpp.
|
delete |
|
delete |