#include <BdsDataFileLog.h>
Inheritance diagram for Bds::DataFileLog:

Public Member Functions | |
| DataFileLog () | |
| BError | open (BString fileName, BString mode) |
| Open the file for read or write. | |
| DataOrder | getDataOrder () |
| Get the expected order of writing data, by sample or by channel. | |
| int | getFeatures () |
| Get bitmask of supported features. | |
| BError | getInfo (DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors) |
| Get info on data. | |
| BError | readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &data) |
| Read a block. | |
| BError | setFormat (BString format) |
| Set the sub-format. | |
| BError | setInfo (DataInfo &dataInfo, ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData) |
| BError | start (BUInt channel, BUInt segment) |
| Start next segment of data. | |
| BError | writeData (DataBlock &data) |
| Write a block of data. | |
| BError | end () |
| End segment. | |
Static Public Member Functions | |
| static DataFormat | getFormats () |
| Get list of supported formats. | |
Private Member Functions | |
| BError | readBlock (BUInt32 channel, BUInt64 pos, DataBlock &data, BUInt64 &posNext) |
Private Attributes | |
| DataInfo | odataInfo |
| ChannelInfos | ochannelInfos |
| BString | oformat |
| BArray< DataBlockPos > | oblockPositions |
| Bds::DataFileLog::DataFileLog | ( | ) |
| BError Bds::DataFileLog::end | ( | ) | [virtual] |
| DataFile::DataOrder Bds::DataFileLog::getDataOrder | ( | ) | [virtual] |
| int Bds::DataFileLog::getFeatures | ( | ) | [virtual] |
| DataFormat Bds::DataFileLog::getFormats | ( | ) | [static] |
| BError Bds::DataFileLog::getInfo | ( | DataInfo & | dataInfo, | |
| DataFileOptions | options, | |||
| BList< DataError > & | errors | |||
| ) | [virtual] |
| BError Bds::DataFileLog::open | ( | BString | fileName, | |
| BString | mode | |||
| ) | [virtual] |
| BError Bds::DataFileLog::readBlock | ( | BUInt32 | channel, | |
| BUInt64 | pos, | |||
| DataBlock & | data, | |||
| BUInt64 & | posNext | |||
| ) | [private] |
| BError Bds::DataFileLog::readData | ( | BUInt32 | channel, | |
| BUInt | segment, | |||
| BUInt32 | blockNumber, | |||
| DataBlock & | data | |||
| ) | [virtual] |
| BError Bds::DataFileLog::setFormat | ( | BString | format | ) | [virtual] |
| BError Bds::DataFileLog::setInfo | ( | DataInfo & | dataInfo, | |
| ChannelInfos & | channelInfos, | |||
| WriteOptionsList | options = WriteOptionSensorData | |||
| ) |
| BError Bds::DataFileLog::start | ( | BUInt | channel, | |
| BUInt | segment | |||
| ) | [virtual] |
| BError Bds::DataFileLog::writeData | ( | DataBlock & | data | ) | [virtual] |
BArray<DataBlockPos> Bds::DataFileLog::oblockPositions [private] |
ChannelInfos Bds::DataFileLog::ochannelInfos [private] |
DataInfo Bds::DataFileLog::odataInfo [private] |
BString Bds::DataFileLog::oformat [private] |
Reimplemented from Bds::DataFile.
1.4.7