A factory for creating driver objects of a particular type. More...
#include <yarp/dev/Drivers.h>
Inheritance diagram for yarp::dev::DriverCreatorOf< T >:Public Member Functions | |
| DriverCreatorOf (const std::string &name, const std::string &wrap, const std::string &code) | |
| Constructor. | |
| std::string | toString () const override |
| Returns a simple description of devices the factory can make. | |
| std::string | getName () const override |
| Get the common name of the device. | |
| std::string | getWrapper () const override |
| Get the common name of a device that can wrap this one. | |
| std::string | getCode () const override |
| Get the name of the C++ class associated with this device. | |
| DeviceDriver * | create () const override |
| Create a device. | |
Public Member Functions inherited from yarp::dev::DriverCreator | |
| virtual | ~DriverCreator () |
| Destructor. | |
| virtual PolyDriver * | owner () |
| For "links" to other devices. | |
A factory for creating driver objects of a particular type.
|
inline |
Constructor.
Sets up the name by which the device will be known.
| name | The "common name" of the device. This is the name that will be used when naming the device externally, for example from the command line. |
| wrap | The "common name" of another device which can wrap this device up for network access. If there is no such device, use an empty name: "" |
| code | The name of a class associated with this device. This is to give the user an entry point into the relevant code documentation. |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get the name of the C++ class associated with this device.
Implements yarp::dev::DriverCreator.
|
inlineoverridevirtual |
Get the common name of the device.
Implements yarp::dev::DriverCreator.
|
inlineoverridevirtual |
Get the common name of a device that can wrap this one.
Implements yarp::dev::DriverCreator.
|
inlineoverridevirtual |
Returns a simple description of devices the factory can make.
Implements yarp::dev::DriverCreator.