FakeDeviceWrapped
: A simple device for testing purposes.
More...
#include <fake/fakeDeviceWrapped/FakeDeviceWrapped.h>
FakeDeviceWrapped
: A simple device for testing purposes.
It is automatically wrapped by FakeDeviceWrapper via deviceBundler device. See also FakeDeviceUnwrapped for an identical device without automatic wrapping.
Definition at line 19 of file FakeDeviceWrapped.h.
◆ FakeDeviceWrapped() [1/3]
FakeDeviceWrapped::FakeDeviceWrapped |
( |
| ) |
|
|
default |
◆ FakeDeviceWrapped() [2/3]
◆ FakeDeviceWrapped() [3/3]
◆ ~FakeDeviceWrapped()
FakeDeviceWrapped::~FakeDeviceWrapped |
( |
| ) |
|
|
overridedefault |
◆ close()
bool FakeDeviceWrapped::close |
( |
| ) |
|
|
overridevirtual |
◆ open()
Open the DeviceDriver.
- Parameters
-
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). |
- Returns
- true/false upon success/failure
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 31 of file FakeDeviceWrapped.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ testGetValue()
void FakeDeviceWrapped::testGetValue |
( |
int & |
value | ) |
|
|
overridevirtual |
◆ testSetValue()
void FakeDeviceWrapped::testSetValue |
( |
int |
value | ) |
|
|
overridevirtual |
◆ m_value
int FakeDeviceWrapped::m_value = { 0 } |
|
protected |
The documentation for this class was generated from the following files: