Bds::DataFileTapeDigitiser Class Reference

This class implements the TapeDigitiser's file output conversion and storeing system. More...

#include <BdsDataFileTapeDigitiser.h>

Inheritance diagram for Bds::DataFileTapeDigitiser:

Bds::DataFile List of all members.

Public Member Functions

 DataFileTapeDigitiser ()
BError open (BString fileName, BString mode)
 Open the file for reading or writing.
BError getInfo (DataInfo &dataInfo, Options options, BList< BErrorTime > &errors)
BError readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data)
 Read a block.

Static Public Member Functions

static DataFormat getFormats ()
 Get list of supported formats.

Private Member Functions

uint32_t blockSize ()
 Returns the data block size in bytes.
uint32_t blockNumSamples ()
 Returns the number of samples of data in a block.
BError readHeader (BDictString &header)
 Read the file header info.
uint32_t computeChecksum (void *data, int nBytes)

Private Attributes

BDictString oheader
off64_t oheaderSize
uint32_t oblockSize
uint32_t oblockNumSamples
double osampleRate
BBuffer obuffer
 Data block buffer.
BString oversion

Detailed Description

This class implements the TapeDigitiser's file output conversion and storeing system.


Constructor & Destructor Documentation

Bds::DataFileTapeDigitiser::DataFileTapeDigitiser (  ) 


Member Function Documentation

uint32_t Bds::DataFileTapeDigitiser::blockNumSamples (  )  [private]

Returns the number of samples of data in a block.

uint32_t Bds::DataFileTapeDigitiser::blockSize (  )  [private]

Returns the data block size in bytes.

uint32_t Bds::DataFileTapeDigitiser::computeChecksum ( void *  data,
int  nBytes 
) [private]

DataFormat Bds::DataFileTapeDigitiser::getFormats (  )  [static]

Get list of supported formats.

Reimplemented from Bds::DataFile.

BError Bds::DataFileTapeDigitiser::getInfo ( DataInfo dataInfo,
Options  options,
BList< BErrorTime > &  errors 
)

BError Bds::DataFileTapeDigitiser::open ( BString  fileName,
BString  mode 
) [virtual]

Open the file for reading or writing.

Reimplemented from Bds::DataFile.

BError Bds::DataFileTapeDigitiser::readData ( BUInt32  channel,
BUInt  segment,
BUInt32  blockNumber,
DataBlock data 
) [virtual]

Read a block.

Reimplemented from Bds::DataFile.

BError Bds::DataFileTapeDigitiser::readHeader ( BDictString &  header  )  [private]

Read the file header info.


Member Data Documentation

uint32_t Bds::DataFileTapeDigitiser::oblockNumSamples [private]

uint32_t Bds::DataFileTapeDigitiser::oblockSize [private]

BBuffer Bds::DataFileTapeDigitiser::obuffer [private]

Data block buffer.

BDictString Bds::DataFileTapeDigitiser::oheader [private]

off64_t Bds::DataFileTapeDigitiser::oheaderSize [private]

double Bds::DataFileTapeDigitiser::osampleRate [private]

BString Bds::DataFileTapeDigitiser::oversion [private]


The documentation for this class was generated from the following files:
Generated on Wed Jun 30 16:49:14 2010 for BdsApi by  doxygen 1.4.7