A factory for creating links to a driver that has already been created. More...
#include <yarp/dev/DriverLinkCreator.h>
Inheritance diagram for yarp::dev::DriverLinkCreator:A factory for creating links to a driver that has already been created.
Definition at line 23 of file DriverLinkCreator.h.
Public Member Functions | |
| DriverLinkCreator (const std::string &name, PolyDriver &source) | |
| virtual | ~DriverLinkCreator () override |
| std::string | toString () const override |
| Returns a simple description of devices the factory can make. More... | |
| DeviceDriver * | create () const override |
| Create a device. More... | |
| std::string | getName () const override |
| Get the common name of the device. More... | |
| std::string | getWrapper () const override |
| Get the common name of a device that can wrap this one. More... | |
| std::string | getCode () const override |
| Get the name of the C++ class associated with this device. More... | |
| PolyDriver * | owner () override |
| For "links" to other devices. More... | |
| void | close () |
Public Member Functions inherited from yarp::dev::DriverCreator | |
| virtual | ~DriverCreator () |
| Destructor. More... | |
| yarp::dev::DriverLinkCreator::DriverLinkCreator | ( | const std::string & | name, |
| PolyDriver & | source | ||
| ) |
Definition at line 11 of file DriverLinkCreator.cpp.
|
overridevirtual |
Definition at line 17 of file DriverLinkCreator.cpp.
|
inline |
Definition at line 66 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
Create a device.
Implements yarp::dev::DriverCreator.
Definition at line 39 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
Get the name of the C++ class associated with this device.
Implements yarp::dev::DriverCreator.
Definition at line 56 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
Get the common name of the device.
Implements yarp::dev::DriverCreator.
Definition at line 46 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
Get the common name of a device that can wrap this one.
Implements yarp::dev::DriverCreator.
Definition at line 51 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
For "links" to other devices.
Default implementation returns NULL, which is correct for all real devices talking to hardware.
Reimplemented from yarp::dev::DriverCreator.
Definition at line 61 of file DriverLinkCreator.h.
|
inlineoverridevirtual |
Returns a simple description of devices the factory can make.
Implements yarp::dev::DriverCreator.
Definition at line 34 of file DriverLinkCreator.h.