FakeDevice_nwc_yarp
: NWC device for testing purposes
More...
#include <fake/fakeDevice_nwc_yarp/fakeDevice_nwc_yarp.h>
Public Member Functions | |
bool | open (yarp::os::Searchable &config) override |
Open the DeviceDriver. | |
bool | close () override |
Close the DeviceDriver. | |
yarp::dev::ReturnValue | doSomething () |
A method for testing purposes. | |
![]() | |
DeviceDriver () | |
DeviceDriver (const DeviceDriver &other)=delete | |
DeviceDriver (DeviceDriver &&other) noexcept=delete | |
DeviceDriver & | operator= (const DeviceDriver &other)=delete |
DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
virtual | ~DeviceDriver () |
virtual std::string | id () const |
Return the id assigned to the PolyDriver. | |
virtual void | setId (const std::string &id) |
Set the id for this device. | |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. | |
virtual DeviceDriver * | getImplementation () |
Some drivers are bureaucrats, pointing at others. | |
![]() | |
virtual | ~IFakeDeviceInterfaceTest1 () |
Destructor. | |
Protected Attributes | |
FakeTestMsgs | m_thrift_RPC |
yarp::os::Port | m_rpc_port_to_server |
const std::string | m_local = "/fake_nwc/rpc" |
const std::string | m_remote = "/fake_nws/rpc" |
FakeDevice_nwc_yarp
: NWC device for testing purposes
Definition at line 18 of file fakeDevice_nwc_yarp.h.
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 46 of file fakeDevice_nwc_yarp.cpp.
|
virtual |
A method for testing purposes.
Implements yarp::dev::test::IFakeDeviceInterfaceTest1.
Definition at line 52 of file fakeDevice_nwc_yarp.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 16 of file fakeDevice_nwc_yarp.cpp.
|
protected |
Definition at line 27 of file fakeDevice_nwc_yarp.h.
|
protected |
Definition at line 28 of file fakeDevice_nwc_yarp.h.
|
protected |
Definition at line 26 of file fakeDevice_nwc_yarp.h.
|
protected |
Definition at line 23 of file fakeDevice_nwc_yarp.h.