RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Public Member Functions
DAQ::Driver Class Referenceabstract

#include <daq.hpp>

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

Public Member Functions

 Driver (std::string dev_name)
 
 Driver (const Driver &)=default
 
Driveroperator= (const Driver &)=default
 
 Driver (Driver &&)=default
 
Driveroperator= (Driver &&)=default
 
virtual ~Driver ()=default
 
virtual void loadDevices ()=0
 
virtual void unloadDevices ()=0
 
virtual std::vector< DAQ::Device * > getDevices ()=0
 
std::string getDriverName ()
 

Detailed Description

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

See also
DAQ::Device

Definition at line 441 of file daq.hpp.

Constructor & Destructor Documentation

◆ Driver() [1/3]

DAQ::Driver::Driver(std::string dev_name)
inlineexplicit

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

Parameters
nameThe name of the driver.

Definition at line 449 of file daq.hpp.

◆ Driver() [2/3]

DAQ::Driver::Driver(const Driver)
default

◆ Driver() [3/3]

DAQ::Driver::Driver(Driver && )
default

◆ ~Driver()

virtual DAQ::Driver::~Driver()
virtualdefault

Member Function Documentation

◆ getDevices()

virtual std::vector<DAQ::Device*> DAQ::Driver::getDevices()
pure virtual

Implemented in Driver.

◆ getDriverName()

std::string DAQ::Driver::getDriverName()
inline

Definition at line 463 of file daq.hpp.

◆ loadDevices()

virtual void DAQ::Driver::loadDevices()
pure virtual

Implemented in Driver.

◆ operator=() [1/2]

Driver& DAQ::Driver::operator=(const Driver)
default

◆ operator=() [2/2]

Driver& DAQ::Driver::operator=(Driver && )
default

◆ unloadDevices()

virtual void DAQ::Driver::unloadDevices()
pure virtual

Implemented in Driver.


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