yarp::dev::DriverCollection Class Reference
This is an automatically generated class to initialize a collection of drivers. More...
#include <drivers.h>
Public Member Functions | |
DriverCollection () | |
Add devices from all imported libraries. | |
yarp::os::ConstString | status () |
Return a string listing all devices, to allow sanity-checking. |
Detailed Description
This is an automatically generated class to initialize a collection of drivers.Instantiate it in your main() function as: yarp::dev::DeviceCollection dev;
That's all! You can print the output of the dev.status() method just to make sure that all the devices you expect to be present actually are.
To actually instantiate devices, use the yarp::dev::PolyDriver class.
The documentation for this class was generated from the following file:
- src/generated/drivers.h