FakeJoypad
: fake device implementing the device interface
More...
#include <fake/fakeJoypad/FakeJoypad.h>
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 } |
Public Attributes inherited from FakeJoypad_ParamsParser | |
const std::string | m_device_classname = {"FakeJoypad"} |
const std::string | m_device_name = {"fakeJoypad"} |
bool | m_parser_is_strict = false |
const parser_version_type | m_parser_version = {} |
const std::string | m_rpc_port_name_defaultValue = {"/fakeJoypad/rpc"} |
std::string | m_rpc_port_name = {"/fakeJoypad/rpc"} |
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 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 |
FakeJoypad
: fake device implementing the device interface
Parameters required by this device are shown in class: FakeJoypad_ParamsParser
Definition at line 21 of file FakeJoypad.h.
|
default |
|
virtualdefault |
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 33 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 96 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 38 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 85 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 44 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 132 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 56 of file FakeJoypad.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 107 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 68 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 74 of file FakeJoypad.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 118 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 62 of file FakeJoypad.cpp.
|
overridevirtual |
Implements yarp::dev::IJoypadEventDriven.
Definition at line 143 of file FakeJoypad.cpp.
Implements yarp::dev::IJoypadEventDriven.
Definition at line 50 of file FakeJoypad.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 26 of file FakeJoypad.cpp.