A base class for factories that create driver objects. More...
#include <yarp/dev/Drivers.h>
Inheritance diagram for yarp::dev::DriverCreator:A base class for factories that create driver objects.
The DriverCreatorOf class is probably what you want.
Public Member Functions | |
| virtual | ~DriverCreator () |
| Destructor. More... | |
| virtual std::string | toString () const =0 |
| Returns a simple description of devices the factory can make. More... | |
| virtual DeviceDriver * | create () const =0 |
| Create a device. More... | |
| virtual std::string | getName () const =0 |
| Get the common name of the device. More... | |
| virtual std::string | getWrapper () const =0 |
| Get the common name of a device that can wrap this one. More... | |
| virtual std::string | getCode () const =0 |
| Get the name of the C++ class associated with this device. More... | |
| virtual PolyDriver * | owner () |
| For "links" to other devices. More... | |
|
inlinevirtual |
|
pure virtual |
Create a device.
Implemented in yarp::dev::StubDriverCreator, yarp::dev::DriverCreatorOf< T >, and yarp::dev::DriverLinkCreator.
|
pure virtual |
Get the name of the C++ class associated with this device.
Implemented in yarp::dev::StubDriverCreator, yarp::dev::DriverCreatorOf< T >, and yarp::dev::DriverLinkCreator.
|
pure virtual |
Get the common name of the device.
Implemented in yarp::dev::StubDriverCreator, yarp::dev::DriverCreatorOf< T >, and yarp::dev::DriverLinkCreator.
|
pure virtual |
Get the common name of a device that can wrap this one.
Implemented in yarp::dev::StubDriverCreator, yarp::dev::DriverCreatorOf< T >, and yarp::dev::DriverLinkCreator.
|
inlinevirtual |
For "links" to other devices.
Default implementation returns NULL, which is correct for all real devices talking to hardware.
Reimplemented in yarp::dev::DriverLinkCreator.
|
pure virtual |
Returns a simple description of devices the factory can make.
Implemented in yarp::dev::StubDriverCreator, yarp::dev::DriverCreatorOf< T >, and yarp::dev::DriverLinkCreator.