ACQ2XX_API
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes | Protected Member Functions | Protected Attributes
AcqDataModel Class Reference

#include <AcqDataModel.h>

Inheritance diagram for AcqDataModel:
Acq132DataModelAdapter LinearDataModel< T >

Public Member Functions

virtual ~AcqDataModel ()
void setAcqCal (AcqCal *_acq_cal)
void setIdent (string &_ident)
void setDataSourceName (string _dataSourceName)
void setPrefix (string &_pfx)
virtual void addEventSignature (NewEventSignature *_es)
const AcqTypegetAcqType ()
const AcqCalgetAcqCal ()
virtual void dumpFormat (const string &dirFile, unsigned long start_sample=0)
virtual void print ()
virtual void processRaw (void *data, int ndata_bytes)
virtual void processCooked (const void *cdata, int ch, int ndata_bytes)
void dump (string root)
virtual void dump (DumpDef &dd)=0
virtual void clear (int expected_samples)
virtual void setMaxsamples (int _maxsamples)
virtual void visitChannels (ChannelVisitor &visitor)
virtual vector< int > & getEvents ()
virtual void clear ()
virtual vector< short > & getChannelData (int ch)
virtual vector
< NewEventSignature * > & 
getEventSignatures ()
virtual void setWallClockPolicy (unsigned _msecs_start)

Static Public Member Functions

static bool processNoStashES (int &len)
static void setProcessNoStashES (int &len)
static AcqDataModelcreate (const AcqType &acq_type, string _scanlist=DEFSCAN, string _channel_mask=DEFMASK)

Data Fields

bool has_timebase
const char * ch_name_core

Static Public Attributes

static string pfx
static enum WCP wallclock_policy

Protected Member Functions

 AcqDataModel (const AcqType &_acq_type, string _scanlist, string _channelMask)

Protected Attributes

const AcqTypeacq_type
string scanlist
string channelMask
AcqCalacq_cal
string ident
string dataSourceName
unsigned msecs_start

Detailed Description

Definition at line 52 of file AcqDataModel.h.


Constructor & Destructor Documentation

AcqDataModel::AcqDataModel ( const AcqType _acq_type,
string  _scanlist,
string  _channelMask 
) [protected]

Definition at line 456 of file AcqDataModel.cpp.

References acq_cal, acq_type, and create().

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

Definition at line 87 of file AcqDataModel.h.


Member Function Documentation

virtual void AcqDataModel::addEventSignature ( NewEventSignature _es) [inline, virtual]

Reimplemented in LinearDataModel< T >.

Definition at line 99 of file AcqDataModel.h.

Referenced by main().

void AcqDataModel::clear ( int  expected_samples) [virtual]
virtual void AcqDataModel::clear ( ) [inline, virtual]

Reimplemented in LinearDataModel< T >, and Acq132DataModelAdapter.

Definition at line 126 of file AcqDataModel.h.

AcqDataModel * AcqDataModel::create ( const AcqType acq_type,
string  _scanlist = DEFSCAN,
string  _channel_mask = DEFMASK 
) [static]

Definition at line 432 of file AcqDataModel.cpp.

References AcqType::getWordSize(), and AcqType::model.

Referenced by AcqDataModel(), and main().

void AcqDataModel::dump ( string  root)
virtual void AcqDataModel::dump ( DumpDef dd) [pure virtual]
void AcqDataModel::dumpFormat ( const string &  dirFile,
unsigned long  start_sample = 0 
) [virtual]
const AcqCal* AcqDataModel::getAcqCal ( ) [inline]

Definition at line 104 of file AcqDataModel.h.

Referenced by MdsWrapper::mdsPutCal().

const AcqType& AcqDataModel::getAcqType ( ) [inline]
virtual vector<short>& AcqDataModel::getChannelData ( int  ch) [inline, virtual]
virtual vector<int>& AcqDataModel::getEvents ( ) [inline, virtual]

Reimplemented in Acq132DataModelAdapter.

Definition at line 121 of file AcqDataModel.h.

Referenced by LivePrePostProcessController::dump().

virtual vector<NewEventSignature*>& AcqDataModel::getEventSignatures ( ) [inline, virtual]

Reimplemented in LinearDataModel< T >.

Definition at line 137 of file AcqDataModel.h.

void AcqDataModel::print ( void  ) [virtual]

Reimplemented in LinearDataModel< T >, and Acq132DataModelAdapter.

Definition at line 166 of file AcqDataModel.cpp.

void AcqDataModel::processCooked ( const void *  cdata,
int  ch,
int  ndata_bytes 
) [virtual]

Reimplemented in LinearDataModel< T >.

Definition at line 180 of file AcqDataModel.cpp.

Referenced by ConcreteDirfileFrameHandler< T >::onFrame().

static bool AcqDataModel::processNoStashES ( int &  len) [inline, static]

Definition at line 71 of file AcqDataModel.h.

void AcqDataModel::processRaw ( void *  data,
int  ndata_bytes 
) [virtual]

Reimplemented in LinearDataModel< T >, and Acq132DataModelAdapter.

Definition at line 175 of file AcqDataModel.cpp.

Referenced by ProcessController::processAction().

void AcqDataModel::setAcqCal ( AcqCal _acq_cal)

Definition at line 469 of file AcqDataModel.cpp.

References acq_cal, and AcqCal::destroy().

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

void AcqDataModel::setDataSourceName ( string  _dataSourceName) [inline]
void AcqDataModel::setIdent ( string &  _ident) [inline]

Definition at line 90 of file AcqDataModel.h.

Referenced by main().

virtual void AcqDataModel::setMaxsamples ( int  _maxsamples) [inline, virtual]

Reimplemented in Acq132DataModelAdapter.

Definition at line 115 of file AcqDataModel.h.

Referenced by main().

void AcqDataModel::setPrefix ( string &  _pfx) [inline]
static void AcqDataModel::setProcessNoStashES ( int &  len) [inline, static]

Definition at line 79 of file AcqDataModel.h.

Referenced by LivePrePostProcessController::processAction().

virtual void AcqDataModel::setWallClockPolicy ( unsigned  _msecs_start) [inline, virtual]
virtual void AcqDataModel::visitChannels ( ChannelVisitor visitor) [inline, virtual]

Reimplemented in Acq132DataModelAdapter.

Definition at line 119 of file AcqDataModel.h.

Referenced by LiveMeanProcessController::dump().


Field Documentation

Definition at line 60 of file AcqDataModel.h.

Referenced by AcqDataModel(), and setAcqCal().

const AcqType& AcqDataModel::acq_type [protected]

Definition at line 57 of file AcqDataModel.h.

Referenced by AcqDataModel().

Definition at line 83 of file AcqDataModel.h.

string AcqDataModel::channelMask [protected]

Definition at line 59 of file AcqDataModel.h.

string AcqDataModel::dataSourceName [protected]

Definition at line 62 of file AcqDataModel.h.

Definition at line 82 of file AcqDataModel.h.

string AcqDataModel::ident [protected]

Definition at line 61 of file AcqDataModel.h.

unsigned AcqDataModel::msecs_start [protected]

Definition at line 64 of file AcqDataModel.h.

string AcqDataModel::pfx [static]
string AcqDataModel::scanlist [protected]

Definition at line 58 of file AcqDataModel.h.


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