RTXI 1.3
DAQ::Driver Class Reference

#include <daq.h>

Inheritance diagram for DAQ::Driver:
AnalogyDriver ComediDriver ComediDriver NIDriver

List of all members.

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 343 of file daq.h.


Constructor & Destructor Documentation

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 31 of file daq.cpp.

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

Definition at line 36 of file daq.cpp.


Member Function Documentation

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, ComediDriver, ComediDriver, and NIDriver.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines