BdsApi
2.0.11
|
Classes | |
class | AccessGroup |
This holds information on data access groups. More... | |
class | AdminAccess |
This is the AdminAccess API interface. More... | |
class | ArrayChannel |
This class defines an arrays channel. More... | |
struct | BdsDataBlock |
struct | BdsDataBlockHeader |
class | BdsDataBlockPos |
class | BdsDataPacket |
struct | BdsDataPacketHeader |
class | BdsDataSegment |
class | BdsDataStreamlet |
class | Calibration |
This class defines a calibration setting. More... | |
struct | CdChannel_1v0 |
class | CdDataChannel |
struct | CdDataFormatFrame_1v0 |
class | CdFlag |
class | CdPacketData |
class | Change |
This holds information on a change. More... | |
class | ChangeGroup |
This holds information on a change. More... | |
class | Channel |
This class defines a Channel. More... | |
class | ChannelInfo |
class | ChannelInfos |
This class provides information on a set of channels. More... | |
class | ChannelInstrument |
This class defines a Channel to Digitiser/Sensor linkage. More... | |
class | CleanOptions |
This is the clean options. More... | |
class | CompressSteim1 |
class | DataAccess |
class | DataAddAccess |
This is the DataAdd Access API interface. More... | |
class | DataBlock |
class | DataBlockPos |
class | DataChannel |
class | DataChannelInfo |
This class defines information on a data channel. More... | |
class | DataCollate |
This class defines the interface for generic data file access. More... | |
class | DataError |
class | DataFile |
This class defines the interface for generic data file access. More... | |
class | DataFileAd22 |
class | DataFileAscii |
class | DataFileBdrs |
class | DataFileBds |
This class implements the BDS Data File/Stream access system. More... | |
class | DataFileBknas |
class | DataFileCd |
class | DataFileCss |
class | DataFileCssData |
class | DataFileGcf |
class | DataFileIms |
class | DataFileInfo |
This class defines information on a data file. More... | |
class | DataFileLac |
class | DataFileLog |
class | DataFileOptions |
class | DataFileResponse |
This class defines the interface for generic responese data file access. More... | |
class | DataFileSac |
class | DataFileTapeDigitiser |
This class implements the TapeDigitiser's file output conversion and storeing system. More... | |
class | DataFileWra |
class | DataFileWraAgso |
class | DataFormat |
This holds information on a data format. More... | |
class | DataFormats |
This class defines the interface for generic data file access. More... | |
struct | DataFrameHead_1v0 |
class | DataHandle |
This defines a handle to a data stream/file. More... | |
class | DataInfo |
struct | DataSubFrameHead_1v0 |
class | Digitiser |
This class defines a Digitiser. More... | |
class | Fap |
This class defines a Amplitude/Phase Response. More... | |
struct | FileDataHeaderTape_1v1 |
struct | FileDataHeaderTape_2v0 |
class | Fir |
This class defines a Pole/Zero Response. More... | |
class | FirEntry |
This class defines a Pole/Zero Response. More... | |
struct | GcfChannel |
class | Group |
This holds information on a groups. More... | |
struct | Header_1v0 |
struct | Header_1v1 |
class | ListRange |
This class defines a TimePeriod. More... | |
class | Location |
This class defines a Location. This will be the stations location. More... | |
class | Log |
This holds information on a Note. More... | |
class | LogSelect |
This is used for requesting log entries. More... | |
class | Network |
This class defines a Network organisation. Could have other information here like website, contacts etc. More... | |
class | Note |
This holds information on a Note. More... | |
class | Point |
class | PoleZero |
This class defines a Pole/Zero Response. More... | |
class | Response |
This class defines a Response. More... | |
class | ResponseEdit |
Response Editor object. More... | |
class | Selection |
class | SelectionChannel |
class | SelectionInfo |
This class defines the set of data selection critera. More... | |
class | Sensor |
This class defines a Sensor. More... | |
class | Source |
This class defines a Source. More... | |
class | SourcePriority |
This class defines a Source Order entry. More... | |
class | Station |
class | TimePeriod |
struct | Trailer |
class | User |
This holds information on a user. More... | |
Functions | |
void | bdsDumpPoleZeros (PoleZero poleZeros) |
void | bdsChannelGetTypeAux (BString name, BString &type, BString &aux) |
BString | bdsChannelGetName (BString type, BString aux) |
BError | bdsDataInfoSetTimeRange (DataInfo &dataInfo) |
BError | bdsDataInfoFromInfo (BDictString info, DataInfo &dataInfo) |
Convert info to DataInfo. More... | |
BError | bdsInfoFromDataInfo (DataInfo &dataInfo, BDictString &info) |
BString | bdsStationAlias (Station station) |
void | bdsDumpSelection (Selection sel) |
void | bdsDumpDataInfo (DataInfo dataInfo, int includeInfo) |
void | bdsDumpChannelInfos (ChannelInfos &channelInfos) |
void | bdsDumpData (DataBlock &dataBlock, int nSamples) |
BString | bdsDataChannelInfo (DataChannel &dataChannel) |
BString | bdsDataChannelRef (DataChannel &dataChannel) |
BString | bdsDataChannelRef (ChannelInfo &channelInfo) |
BError | bdsDataChannelOverallResponse (ChannelInfo &channelInfo, Response &response) |
BString | bdsSelectionChannelInfo (Selection &selection, BUInt channel) |
double | bdsPoleZeroGain (const PoleZero &poleZero, double frequency) |
Calculates the overal gain of the given PoleZero transfer function. More... | |
void | bdsPoleZeroGainPhase (const PoleZero &poleZero, double frequency, double &gain, double &phase) |
Calculates the overal gain and phase of the given PoleZero transfer function. More... | |
void | bdsPoleZeroToFap (const PoleZero &poleZero, BUInt nPoints, double calibrationFrequency, double sampleFrequency, BArray< Fap > &fap) |
Convert PoleZero to FAP. More... | |
static BString | fileNameTime (BTimeStamp t) |
BString | bdsFileNameExpand (BString fileName, ChannelInfo &channelInfo) |
BString | bdsFileNameExpand (BString fileName, ChannelInfos &channelInfos) |
BError | bdsUnCompressCm8 (BUInt8 *buffer, BUInt n, BArray< BInt32 > &data) |
BError | bdsUnCompressSteim1 (BUInt8 *buffer, BUInt n, BArray< BInt32 > &data) |
static BString | nullString (BString s) |
BUInt32 | crc (BUInt32 crc, void *data, int numBytes) |
static void | crcInit () |
static uint64_t | crc64 (const void *buffer, const uint32_t len) |
BString | getHexString (char *data, int len) |
int | duplicateDump (DataBlock &data1, DataBlock &data2, int channel) |
static BError | fixedString (double v, int fieldWidth, int numDecimal, BString &str) |
void | dataCalculateDifference (BInt32 &prevValue, BArray< BInt32 > &data) |
void | dataCalculateUnDifference (BInt32 &prevValue, BArray< BInt32 > &data) |
BInt32 | dataChecksum (BInt32 checksum, BArray< BInt32 > &data) |
BError | dataCompressCm6 (int &prevValue1, int &prevValue2, BArray< BInt32 > &data, BString &d) |
BError | dataDeCompressCm6 (int &prevValue1, int &prevValue2, BString &d, BArray< BInt32 > &data) |
static void | dataConvert (BArray< BFloat64 > &dataIn, BArray< BInt32 > &dataOut) |
static BString | stringFormat (BTimeStamp t) |
static BString | removeCR (BString str) |
BString | fixedWidthValue (double v, int width) |
Variables | |
const BUInt32 | apiVersion = 0 |
const int | NetworkNameLen = 3 |
const int | StationNameLen = 5 |
const int | ChannelTypeLen = 3 |
const int | ChannelAuxLen = 2 |
const int | SourceLen = 16 |
const BString | BdsVersion = "1.1.0" |
static uint64_t | crcVec [256] |
static int | crcInitDone |
static char | cm6Table [64] |
static BUInt8 | cm6TableRev [128] |
const double | Scale = 16777216.0 |
DataFormats | dataFormats |
enum Bds::BdsDataType |
enum Bds::DataFlags |
enum Bds::Errors |
enum Bds::FileHeaderType |
enum Bds::FileSampleType |
enum Bds::Mode |
enum Bds::Priority |
enum Bds::SampleFormat |
enum Bds::SelectionGroup |
BString Bds::bdsChannelGetName | ( | BString | type, |
BString | aux | ||
) |
void Bds::bdsChannelGetTypeAux | ( | BString | name, |
BString & | type, | ||
BString & | aux | ||
) |
BString Bds::bdsDataChannelInfo | ( | DataChannel & | dataChannel | ) |
BError Bds::bdsDataChannelOverallResponse | ( | ChannelInfo & | channelInfo, |
Response & | response | ||
) |
BString Bds::bdsDataChannelRef | ( | DataChannel & | dataChannel | ) |
BString Bds::bdsDataChannelRef | ( | ChannelInfo & | channelInfo | ) |
BError Bds::bdsDataInfoSetTimeRange | ( | DataInfo & | dataInfo | ) |
void Bds::bdsDumpChannelInfos | ( | ChannelInfos & | channelInfos | ) |
void Bds::bdsDumpData | ( | DataBlock & | dataBlock, |
int | nSamples | ||
) |
void Bds::bdsDumpDataInfo | ( | DataInfo | dataInfo, |
int | includeInfo | ||
) |
void Bds::bdsDumpPoleZeros | ( | PoleZero | poleZeros | ) |
void Bds::bdsDumpSelection | ( | Selection | sel | ) |
BString Bds::bdsFileNameExpand | ( | BString | fileName, |
ChannelInfo & | channelInfo | ||
) |
BString Bds::bdsFileNameExpand | ( | BString | fileName, |
ChannelInfos & | channelInfos | ||
) |
BError Bds::bdsInfoFromDataInfo | ( | DataInfo & | dataInfo, |
BDictString & | info | ||
) |
double Bds::bdsPoleZeroGain | ( | const PoleZero & | poleZero, |
double | frequency | ||
) |
Calculates the overal gain of the given PoleZero transfer function.
void Bds::bdsPoleZeroGainPhase | ( | const PoleZero & | poleZero, |
double | frequency, | ||
double & | gain, | ||
double & | phase | ||
) |
Calculates the overal gain and phase of the given PoleZero transfer function.
void Bds::bdsPoleZeroToFap | ( | const PoleZero & | poleZero, |
BUInt | nPoints, | ||
double | calibrationFrequency, | ||
double | sampleFrequency, | ||
BArray< Fap > & | fap | ||
) |
Convert PoleZero to FAP.
BString Bds::bdsSelectionChannelInfo | ( | Selection & | selection, |
BUInt | channel | ||
) |
BString Bds::bdsStationAlias | ( | Station | station | ) |
BError Bds::bdsUnCompressCm8 | ( | BUInt8 * | buffer, |
BUInt | n, | ||
BArray< BInt32 > & | data | ||
) |
BError Bds::bdsUnCompressSteim1 | ( | BUInt8 * | buffer, |
BUInt | n, | ||
BArray< BInt32 > & | data | ||
) |
BUInt32 Bds::crc | ( | BUInt32 | crc, |
void * | data, | ||
int | numBytes | ||
) |
|
static |
|
static |
void Bds::dataCalculateDifference | ( | BInt32 & | prevValue, |
BArray< BInt32 > & | data | ||
) |
void Bds::dataCalculateUnDifference | ( | BInt32 & | prevValue, |
BArray< BInt32 > & | data | ||
) |
BInt32 Bds::dataChecksum | ( | BInt32 | checksum, |
BArray< BInt32 > & | data | ||
) |
BError Bds::dataCompressCm6 | ( | int & | prevValue1, |
int & | prevValue2, | ||
BArray< BInt32 > & | data, | ||
BString & | d | ||
) |
|
static |
BError Bds::dataDeCompressCm6 | ( | int & | prevValue1, |
int & | prevValue2, | ||
BString & | d, | ||
BArray< BInt32 > & | data | ||
) |
|
static |
|
static |
BString Bds::fixedWidthValue | ( | double | v, |
int | width | ||
) |
BString Bds::getHexString | ( | char * | data, |
int | len | ||
) |
|
static |
|
static |
|
static |
const BUInt32 Bds::apiVersion = 0 |
const BString Bds::BdsVersion = "1.1.0" |
const int Bds::ChannelAuxLen = 2 |
const int Bds::ChannelTypeLen = 3 |
|
static |
|
static |
|
static |
|
static |
DataFormats Bds::dataFormats |
const int Bds::NetworkNameLen = 3 |
const double Bds::Scale = 16777216.0 |
const int Bds::SourceLen = 16 |
const int Bds::StationNameLen = 5 |