Definition at line 188 of file Drivers.cpp.
◆ StubDriver() [1/2]
| StubDriver::StubDriver |
( |
const std::string & |
dll_name, |
|
|
const std::string & |
fn_name |
|
) |
| |
|
inline |
◆ StubDriver() [2/2]
| StubDriver::StubDriver |
( |
const std::string & |
name | ) |
|
|
inline |
◆ ~StubDriver()
| virtual StubDriver::~StubDriver |
( |
| ) |
|
|
virtualdefault |
◆ close()
| bool StubDriver::close |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getBaseClassName()
| std::string StubDriver::getBaseClassName |
( |
| ) |
const |
|
inline |
◆ getClassName()
| std::string StubDriver::getClassName |
( |
| ) |
const |
|
inline |
◆ getDllName()
| std::string StubDriver::getDllName |
( |
| ) |
const |
|
inline |
◆ getFnName()
| std::string StubDriver::getFnName |
( |
| ) |
const |
|
inline |
◆ getImplementation()
Some drivers are bureaucrats, pointing at others.
Such drivers override this method.
- Returns
- "real" device driver
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 255 of file Drivers.cpp.
◆ getPluginName()
| std::string StubDriver::getPluginName |
( |
| ) |
const |
|
inline |
◆ getwrapName()
| std::string StubDriver::getwrapName |
( |
| ) |
const |
|
inline |
◆ id()
| std::string StubDriver::id |
( |
| ) |
const |
|
inlineoverridevirtual |
Return the id assigned to the PolyDriver.
If no name was assigned, returns the name of the device (if set) or an empty string. The value can be set by passing the id option when opening the device or with the setId() method.
- Returns
- the id for this device.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 247 of file Drivers.cpp.
◆ init()
| void StubDriver::init |
( |
| ) |
|
|
inline |
◆ isValid()
| bool StubDriver::isValid |
( |
| ) |
const |
|
inline |
◆ open()
Open the DeviceDriver.
- Parameters
-
| config | is a list of parameters for the device. Which parameters are effective for your device can vary. 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 225 of file Drivers.cpp.
◆ setId()
| void StubDriver::setId |
( |
const std::string & |
id | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: