Interface implemented by deprecated device drivers. More...
#include <yarp/dev/DeviceDriver.h>
Additional Inherited Members | |
![]() | |
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 bool | open (yarp::os::Searchable &config) |
Open the DeviceDriver. | |
virtual bool | close () |
Close the 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. | |
Interface implemented by deprecated device drivers.
When a device is deprecated, replace yarp::dev::DeviceDriver with yarp::dev::DeprecatedDeviceDriver in the list of interfaces implemented by the class, in order to let YARP know that the class is deprecated.
Deprecated device drivers cannot be opened as PolyDriver unless the "allow-deprecated-devices" option is passed in the configuration.
Definition at line 134 of file DeviceDriver.h.