Public Member Functions | |
StubDriver (const char *dll_name, const char *fn_name) | |
StubDriver (const char *name) | |
virtual | ~StubDriver ()=default |
void | init () |
bool | isValid () const |
bool | open (yarp::os::Searchable &config) override |
Open the DeviceDriver. | |
bool | close () override |
Close the DeviceDriver. | |
void | setId (const std::string &id) override |
Set the id for this device. | |
std::string | id () const override |
Return the id assigned to the PolyDriver. | |
DeviceDriver * | getImplementation () override |
Some drivers are bureaucrats, pointing at others. | |
std::string | getDllName () const |
std::string | getFnName () const |
std::string | getwrapName () const |
std::string | getPluginName () const |
std::string | getClassName () const |
std::string | getBaseClassName () const |
![]() | |
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 () |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. | |
Definition at line 172 of file Drivers.cpp.
Definition at line 178 of file Drivers.cpp.
Definition at line 183 of file Drivers.cpp.
|
virtualdefault |
|
inlineoverridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 216 of file Drivers.cpp.
|
inline |
Definition at line 263 of file Drivers.cpp.
|
inline |
Definition at line 259 of file Drivers.cpp.
|
inline |
Definition at line 243 of file Drivers.cpp.
|
inline |
Definition at line 247 of file Drivers.cpp.
|
inlineoverridevirtual |
Some drivers are bureaucrats, pointing at others.
Such drivers override this method.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 239 of file Drivers.cpp.
|
inline |
Definition at line 255 of file Drivers.cpp.
|
inline |
Definition at line 251 of file Drivers.cpp.
|
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.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 231 of file Drivers.cpp.
|
inline |
Definition at line 195 of file Drivers.cpp.
|
inline |
Definition at line 205 of file Drivers.cpp.
|
inlineoverridevirtual |
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 209 of file Drivers.cpp.
Set the id for this device.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 223 of file Drivers.cpp.