#include <daq.h>
Provides a central meeting point for interfacing with all DAQ objects available in the system.
- See also
- DAQ::Device
- DAQ::Driver
Definition at line 73 of file daq.h.
◆ foreachDevice()
void DAQ::Manager::foreachDevice | ( | void(*)(Device *, void *) | callback, |
| | void * | param |
| ) | | |
Loop through each Device and execute a callback. The callback takes two parameters, a Device pointer and param, the second parameter to foreachDevice.
- Parameters
callback | The callback function |
param | A parameter to the callback function. |
- See also
- DAQ::Device
Definition at line 43 of file daq.cpp.
◆ getInstance()
Manager is a Singleton, which means that there can only be one instance. This function returns a pointer to that single instance.
- Returns
- The instance of Manager.
Definition at line 129 of file daq.cpp.
◆ loadDevice()
DAQ::Device * DAQ::Manager::loadDevice | ( | const std::string & | driver, |
| | const std::list< std::string > & | params |
| ) | | |
Function for creating a device from the specified driver.
- Parameters
driver | The driver for the device. |
params | Parameters to the driver. |
- See also
- DAQ::Device
- DAQ::Driver
Definition at line 52 of file daq.cpp.
◆ Device
Definition at line 76 of file daq.h.
◆ Driver
Definition at line 77 of file daq.h.
The documentation for this class was generated from the following files: