RTXI  2.4
The Real-Time eXperiment Interface Documentation
Public Member Functions
DAQ::Driver Class Referenceabstract

#include <daq.h>

Inheritance diagram for DAQ::Driver:
Inheritance graph
Collaboration diagram for DAQ::Driver:
Collaboration graph

Public Member Functions

 Driver (const std::string &name)
 
virtual ~Driver (void)
 
virtual DevicecreateDevice (const std::list< std::string > &args)=0
 

Detailed Description

Acts as a device factory for a specific class of DAQ::Devices.

See also
DAQ::Device

Definition at line 397 of file daq.h.

Constructor & Destructor Documentation

◆ Driver()

DAQ::Driver::Driver(const std::string & name)

The constructor needs to be provided with the name of this driver.

Parameters
nameThe name of the driver.

Definition at line 33 of file daq.cpp.

Here is the call graph for this function:

◆ ~Driver()

DAQ::Driver::~Driver(void )
virtual

Definition at line 38 of file daq.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ createDevice()

virtual Device* DAQ::Driver::createDevice(const std::list< std::string > & args)
pure virtual

A factory function for create a DAQ::Device with the provided args.

Parameters
argsArguments to the new DAQ::Device.
Returns
A new DAQ::Device.
See also
DAQ::Device

Implemented in AnalogyDriver.


The documentation for this class was generated from the following files: