Public Member Functions | Static Public Member Functions | Protected Attributes
AcqCal Class Reference

#include <AcqType.h>

Inheritance diagram for AcqCal:
AcqCalImpl DefaultAcqCal

Public Member Functions

 AcqCal (const AcqType &_acq_type, string _base_name)
virtual ~AcqCal ()
virtual int getCal (int ch, double &gain_v, double &offset_v) const =0

Static Public Member Functions

static AcqCalcreate (const AcqType &_acq_type, string _base_name=string(DEFAULT_CAL))
 ch index from 1
static void destroy (AcqCal *acq_cal)

Protected Attributes

const AcqTypeacq_type

Detailed Description

Definition at line 184 of file AcqType.h.

Constructor & Destructor Documentation

AcqCal::AcqCal ( const AcqType _acq_type,
string  _base_name 

Definition at line 9 of file AcqCal.cpp.

virtual AcqCal::~AcqCal ( ) [inline, virtual]

Definition at line 190 of file AcqType.h.

Member Function Documentation

AcqCal * AcqCal::create ( const AcqType _acq_type,
string  _base_name = string(DEFAULT_CAL) 
) [static]

ch index from 1

Definition at line 86 of file AcqCal.cpp.

References DEFAULT_CAL.

Referenced by ProcessController::addCal(), and addLiveCal().

void AcqCal::destroy ( AcqCal acq_cal) [static]

Definition at line 95 of file AcqCal.cpp.

Referenced by AcqDataModel::setAcqCal().

virtual int AcqCal::getCal ( int  ch,
double &  gain_v,
double &  offset_v 
) const [pure virtual]

Implemented in DefaultAcqCal, and AcqCalImpl.

Referenced by MdsWrapper::mdsPutCal().

Field Documentation

const AcqType& AcqCal::acq_type [protected]

Definition at line 186 of file AcqType.h.

Referenced by AcqCalImpl::AcqCalImpl(), and DefaultAcqCal::getCal().

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