|
| 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 |
|
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 |
|
virtual | ~IJoypadController () |
| Destructor. More...
|
|
| ~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...
|
|
virtual | ~IConfig () |
| Destructor. More...
|
|
virtual bool | configure (Searchable &config) |
| Change online parameters. More...
|
|
JoypadControlClient
: joypad input network wrapper on client side
Description of input parameters
Parameters accepted in the config argument of the open method:
Parameter name | Type | Units | Default Value | Required | Description | Notes |
local | string | | | yes | name for the local port to open | |
remote | string | | | yes | name of the remote server port to connect to | |
Definition at line 43 of file JoypadControlClient.h.