A factory for creating driver objects of a particular type.
More...
#include <yarp/dev/Drivers.h>
template<class T>
class yarp::dev::DriverCreatorOf< T >
A factory for creating driver objects of a particular type.
- Examples
- dev/fake_motor/fake_motor.cpp, and dev/file_grabber/file_grabber.cpp.
Definition at line 85 of file Drivers.h.
◆ DriverCreatorOf()
Constructor.
Sets up the name by which the device will be known.
- Parameters
-
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. |
Definition at line 102 of file Drivers.h.
◆ create()
◆ getCode()
◆ getName()
◆ getWrapper()
◆ toString()
The documentation for this class was generated from the following file: