A factory for creating driver objects from DLLs / shared libraries.
More...
#include <yarp/dev/Drivers.h>
|
| StubDriverCreator (const char *name, const char *wrap, const char *code, const char *libname, const char *fnname) |
|
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.
|
|
virtual | ~DriverCreator () |
| Destructor.
|
|
virtual PolyDriver * | owner () |
| For "links" to other devices.
|
|
A factory for creating driver objects from DLLs / shared libraries.
Definition at line 129 of file Drivers.h.
◆ StubDriverCreator()
yarp::dev::StubDriverCreator::StubDriverCreator |
( |
const char * |
name, |
|
|
const char * |
wrap, |
|
|
const char * |
code, |
|
|
const char * |
libname, |
|
|
const char * |
fnname |
|
) |
| |
|
inline |
◆ create()
◆ getCode()
std::string yarp::dev::StubDriverCreator::getCode |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the name of the C++ class associated with this device.
- Returns
- the name of the C++ class associated with this device.
Implements yarp::dev::DriverCreator.
Definition at line 151 of file Drivers.h.
◆ getName()
std::string yarp::dev::StubDriverCreator::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getWrapper()
std::string yarp::dev::StubDriverCreator::getWrapper |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the common name of a device that can wrap this one.
- Returns
- the common name of the device that can wrap this one for the network.
Implements yarp::dev::DriverCreator.
Definition at line 147 of file Drivers.h.
◆ toString()
std::string yarp::dev::StubDriverCreator::toString |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns a simple description of devices the factory can make.
- Returns
- a description of what this factory makes
Implements yarp::dev::DriverCreator.
Definition at line 139 of file Drivers.h.
The documentation for this class was generated from the following files: