YARP
Yet Another Robot Platform
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
 
 ~DeviceDriver () override
 
bool open (yarp::os::Searchable &config) override
 Open the DeviceDriver. More...
 
bool close () override
 Close the DeviceDriver. More...
 
virtual std::string id () const
 Return the id assigned to the PolyDriver. More...
 
virtual void setId (const std::string &id)
 Set the id for this device. More...
 
template<class T >
bool view (T *&x)
 Get an interface to the device driver. More...
 
virtual DeviceDrivergetImplementation ()
 Some drivers are bureaucrats, pointing at others. More...
 
- Public Member Functions inherited from yarp::os::IConfig
virtual ~IConfig ()
 Destructor. More...
 
virtual bool open (Searchable &config)
 Initialize the object. More...
 
virtual bool close ()
 Shut the object down. More...
 
virtual bool configure (Searchable &config)
 Change online parameters. More...
 

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 135 of file DeviceDriver.h.


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