ACQ2XX_API
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions
AcqType Class Reference

#include <AcqType.h>

Inheritance diagram for AcqType:
Acq132AcqType Acq164AcqType Acq196AcqType Acq196MacAcqType NullAcqType PentaLockinAcqType

Public Member Functions

virtual ~AcqType ()
int getNumChannels () const
int getWordSize () const
int getSampleSize () const
virtual int getChannelOffset (int physchan) const =0
virtual NewEventSignaturecreateES (short _raw[], unsigned long _sample_cursor) const

Static Public Member Functions

static const AcqTypegetAcqType (Acq2xx &card)
 Factory: build AcqType instance by querying card.
static const AcqTypegetAcqType (const char *fname)
 Factory: build AcqType instance from ini file.

Data Fields

const string model
const int nchan
const int word_size

Protected Member Functions

 AcqType (const string _model, int _nchan, int _word_size)
 AcqType (const char *_model, int _nchan, int _word_size)

Static Protected Member Functions

static const AcqType_getAcqType (const char personality[], Acq2xx *card=0)
 Factory: builds AcqType instance from env array.

Detailed Description

Definition at line 80 of file AcqType.h.


Constructor & Destructor Documentation

AcqType::AcqType ( const string  _model,
int  _nchan,
int  _word_size 
) [inline, protected]

Definition at line 83 of file AcqType.h.

AcqType::AcqType ( const char *  _model,
int  _nchan,
int  _word_size 
) [inline, protected]

Definition at line 87 of file AcqType.h.

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

Definition at line 97 of file AcqType.h.


Member Function Documentation

const AcqType & AcqType::_getAcqType ( const char  personality[],
Acq2xx card = 0 
) [static, protected]

Factory: builds AcqType instance from env array.

Definition at line 553 of file AcqType.cpp.

References acqPrams, nullAcqTypeInstance, and parse().

virtual NewEventSignature* AcqType::createES ( short  _raw[],
unsigned long  _sample_cursor 
) const [inline, virtual]

Reimplemented in Acq196AcqType.

Definition at line 119 of file AcqType.h.

const AcqType & AcqType::getAcqType ( const char *  fname) [static]

Factory: build AcqType instance from ini file.

Definition at line 630 of file AcqType.cpp.

References FN, and nullAcqTypeInstance.

const AcqType & AcqType::getAcqType ( Acq2xx card) [static]

Factory: build AcqType instance by querying card.

Definition at line 608 of file AcqType.cpp.

References Transport::acq2sh(), Acq2xx::getTransport(), nullAcqTypeInstance, REPLY, and STATUS_ERR.

Referenced by main().

virtual int AcqType::getChannelOffset ( int  physchan) const [pure virtual]
int AcqType::getNumChannels ( ) const [inline]
int AcqType::getSampleSize ( ) const [inline]

Definition at line 108 of file AcqType.h.

Referenced by ValidatorData::create().

int AcqType::getWordSize ( ) const [inline]

Field Documentation

const string AcqType::model

Definition at line 98 of file AcqType.h.

Referenced by AcqDataModel::create().

const int AcqType::nchan

Definition at line 99 of file AcqType.h.

const int AcqType::word_size

Definition at line 100 of file AcqType.h.


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