A base class for factories that create driver objects.
More...
#include <yarp/dev/Drivers.h>
|
| virtual | ~DriverCreator () |
| | Destructor.
|
| |
| virtual std::string | toString () const =0 |
| | Returns a simple description of devices the factory can make.
|
| |
| virtual DeviceDriver * | create () const =0 |
| | Create a device.
|
| |
| virtual std::string | getName () const =0 |
| | Get the common name of the device.
|
| |
| virtual std::string | getWrapper () const =0 |
| | Get the common name of a device that can wrap this one.
|
| |
| virtual std::string | getCode () const =0 |
| | Get the name of the C++ class associated with this device.
|
| |
| virtual PolyDriver * | owner () |
| | For "links" to other devices.
|
| |
A base class for factories that create driver objects.
The DriverCreatorOf class is probably what you want.
Definition at line 27 of file Drivers.h.
◆ ~DriverCreator()
| virtual yarp::dev::DriverCreator::~DriverCreator |
( |
| ) |
|
|
inlinevirtual |
◆ create()
| virtual DeviceDriver * yarp::dev::DriverCreator::create |
( |
| ) |
const |
|
pure virtual |
◆ getCode()
| virtual std::string yarp::dev::DriverCreator::getCode |
( |
| ) |
const |
|
pure virtual |
◆ getName()
| virtual std::string yarp::dev::DriverCreator::getName |
( |
| ) |
const |
|
pure virtual |
◆ getWrapper()
| virtual std::string yarp::dev::DriverCreator::getWrapper |
( |
| ) |
const |
|
pure virtual |
◆ owner()
| virtual PolyDriver * yarp::dev::DriverCreator::owner |
( |
| ) |
|
|
inlinevirtual |
For "links" to other devices.
Default implementation returns NULL, which is correct for all real devices talking to hardware.
- Returns
- the object managing the device.
Definition at line 72 of file Drivers.h.
◆ toString()
| virtual std::string yarp::dev::DriverCreator::toString |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: