Transient Recorder Framework
Public Member Functions | Friends | List of all members
TRChannelsDriver Class Reference

An asynNDArrayDriver-based class though which burst data is submitted into the AreaDetector framework. More...

#include <TRChannelsDriver.h>

Inheritance diagram for TRChannelsDriver:

Public Member Functions

 TRChannelsDriver (TRChannelsDriverConfig const &cfg)
 Constructor for the channel driver. More...
 

Friends

class TRBaseDriver
 
class TRChannelDataSubmit
 

Detailed Description

An asynNDArrayDriver-based class though which burst data is submitted into the AreaDetector framework.

The same class is used for submitting data for all channels, using multiple asyn addresses.

This class is created automatically be the framework within TRBaseDriver::completeInit. Drivers do not necessarily have to concern themselves with this class because interaction with AreaDetector is meant to be simplified through the use of the class TRChannelDataSubmit.

However, drivers are allowed to define their own class derived from TRChannelsDriver. In this case, the driver will need to override the virtual function TRBaseDriver::createChannelsDriver. Doing so allows the driver to define channel-specific asyn parameters.

Constructor & Destructor Documentation

TRChannelsDriver::TRChannelsDriver ( TRChannelsDriverConfig const &  cfg)

Constructor for the channel driver.

Parameters
cfgConstruction parameters.

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