Yet Another Robot Platform
No Matches
yarp::dev::DeprecatedDeviceDriver Class Reference

Interface implemented by deprecated device drivers. More...

#include <yarp/dev/DeviceDriver.h>

+ Inheritance diagram for yarp::dev::DeprecatedDeviceDriver:

Additional Inherited Members

- Public Member Functions inherited from yarp::dev::DeviceDriver
 DeviceDriver ()
 DeviceDriver (const DeviceDriver &other)=delete
 DeviceDriver (DeviceDriver &&other) noexcept=delete
DeviceDriveroperator= (const DeviceDriver &other)=delete
DeviceDriveroperator= (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 DeviceDrivergetImplementation ()
 Some drivers are bureaucrats, pointing at others.

Detailed Description

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.

The documentation for this class was generated from the following file: