My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::receiver::DioBoloClient Class Reference
Inheritance diagram for gcp::receiver::DioBoloClient:
gcp::receiver::DioClient

Public Member Functions

 DioBoloClient (std::string dioHost, unsigned short dioPort, std::string hwHost, unsigned short hwPort, unsigned int nSamplesPerSecond, unsigned npix)
 
virtual ~DioBoloClient ()
 
void addSampleToBuffer (gcp::util::RegDate &date, vector< MuxReadout::DIODatum > &data, bool isValid)
 
gcp::util::RegMapDataFrameManagergrabReadFrame ()
 
void releaseReadFrame ()
 
void initializeChannels ()
 
void setUpFilter ()
 
void archiveFilterValues (gcp::util::Frequency &freq, unsigned ntaps)
 
void archiveSubSampling (unsigned sampling)
 
void copyPersistentRegs (gcp::util::ArrayMapDataFrameManager *frame)
 
- Public Member Functions inherited from gcp::receiver::DioClient
 DioClient (std::string dioHost, unsigned short dioPort, std::string hwHost, unsigned short hwPort, unsigned int nSamplesPerSecond, bool batch=false)
 
virtual ~DioClient ()
 
void initialize ()
 
bool connect ()
 
bool isConnected ()
 
bool dataAreReady ()
 
bool bufferNextSample ()
 
virtual
gcp::util::BoardDataFrameManager
getFrame ()
 
void setSampling (unsigned sampling)
 
void setFilter (gcp::util::Frequency freq, unsigned ntaps)
 
void setFilterFrequency (gcp::util::Frequency freq)
 
void setFilterNtap (unsigned ntaps)
 
void setFilter (unsigned mask, double freqHz, unsigned ntaps)
 

Additional Inherited Members

- Public Attributes inherited from gcp::receiver::DioClient
std::vector< std::string > channels_
 
std::vector< MuxReadout::DIODatum > data_
 
- Static Public Attributes inherited from gcp::receiver::DioClient
static const gcp::util::Frequency defaultSincFilterCutoffFreq_
 
static const unsigned defaultNTaps_ = 129
 
- Protected Member Functions inherited from gcp::receiver::DioClient
void addBatchChannel (std::string channelSpec)
 
void addChannel (std::string channelSpec)
 
bool addColumn (MuxReadout::DIOColumnToken column)
 
bool start (int sampleCount=-1)
 
virtual void bufferData (vector< MuxReadout::DIODatum > &data)
 
virtual void addSampleToBuffer (gcp::util::RegDate &date, std::vector< MuxReadout::DIODatum > &data, bool isValid)
 
- Protected Attributes inherited from gcp::receiver::DioClient
gcp::util::Frequency sincCutoffFreq_
 
unsigned nTaps_
 
std::string hwHost_
 
unsigned short hwPort_
 
std::string dioHost_
 
unsigned short dioPort_
 
unsigned sampleCount_
 
unsigned nSamplesPerSecond_
 
unsigned nRecord_
 
bool firstSample_
 
bool needFirstValidSample_
 
gcp::util::RegMapDataFrameManagerframeManager_
 
bool batch_
 
bool first_
 

Constructor & Destructor Documentation

DioBoloClient::DioBoloClient ( std::string  dioHost,
unsigned short  dioPort,
std::string  hwHost,
unsigned short  hwPort,
unsigned int  nSamplesPerSecond,
unsigned  npix 
)

....................................................................... Constructor.

DioBoloClient::~DioBoloClient ( )
virtual

....................................................................... Destructor.

Member Function Documentation

void DioBoloClient::addSampleToBuffer ( gcp::util::RegDate date,
vector< MuxReadout::DIODatum > &  data,
bool  isValid 
)

....................................................................... Add a single sample of DIO data to the buffer

void DioBoloClient::archiveFilterValues ( gcp::util::Frequency freq,
unsigned  ntaps 
)
virtual

....................................................................... Overload the baseclass method to archive the filter values

Reimplemented from gcp::receiver::DioClient.

void DioBoloClient::archiveSubSampling ( unsigned  sampling)
virtual

....................................................................... Overload the baseclass method to archive the subsampling rate

Reimplemented from gcp::receiver::DioClient.

void DioBoloClient::copyPersistentRegs ( gcp::util::ArrayMapDataFrameManager frame)
virtual

....................................................................... Copy stored values of persistent items into the register frame

Reimplemented from gcp::receiver::DioClient.

RegMapDataFrameManager * DioBoloClient::grabReadFrame ( )
virtual

....................................................................... Lock and return the read buffer

Reimplemented from gcp::receiver::DioClient.

void DioBoloClient::initializeChannels ( )
virtual

....................................................................... Initialize the list of channels from the HardwareManager

Reimplemented from gcp::receiver::DioClient.

void DioBoloClient::releaseReadFrame ( )
virtual

....................................................................... Unlock the read buffer

Reimplemented from gcp::receiver::DioClient.

void DioBoloClient::setUpFilter ( )
virtual

....................................................................... Overload the base-class method to set up the filter function for this client

Reimplemented from gcp::receiver::DioClient.


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