|
| | DataFileBds () |
| |
| | ~DataFileBds () |
| |
| BError | open (BString fileName, BString mode) |
| | Open the file for reading or writing. More...
|
| |
| BError | close () |
| | Close file. More...
|
| |
| BError | setFormat (BString format) |
| | Sets the sub-format. More...
|
| |
| BError | setInfo (DataInfo &dataInfo, ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData) |
| | Sets the information. More...
|
| |
| BError | writeData (DataBlock &data) |
| | Writes a data block to the file. More...
|
| |
| DataOrder | getDataOrder () |
| | Get the expected order of writing data, by sample or by channel. More...
|
| |
| BError | getInfo (DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors) |
| | Get information on open file. More...
|
| |
| BError | seekBlock (BUInt32 channel, BUInt segment, BTimeStamp time, BUInt32 &blockNumber, BUInt64 &sampleNumber, DataBlock &dataBlock) |
| | Find the block that contains the samples for the time requested. More...
|
| |
| BError | readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &dataBlock) |
| | Read the data block for the given channel or all channels if blockNumber is 0. More...
|
| |
| BError | setDiskBlockSize (BUInt32 blockSize) |
| | Sets up file/stream block size. More...
|
| |
| BUInt32 | getDiskBlockSize () |
| | Returns the data block size in bytes. More...
|
| |
| | DataFileBds () |
| |
| | ~DataFileBds () |
| |
| BError | open (BString fileName, BString mode) |
| | Open the file for reading or writing. More...
|
| |
| BError | close () |
| | Close file. More...
|
| |
| BError | setFormat (BString format) |
| | Sets the sub-format. More...
|
| |
| BError | setInfo (DataInfo &dataInfo, ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData) |
| | Sets the information. More...
|
| |
| BError | writeData (DataBlock &data) |
| | Writes a data block to the file. More...
|
| |
| DataOrder | getDataOrder () |
| | Get the expected order of writing data, by sample or by channel. More...
|
| |
| BError | getInfo (DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors) |
| | Get information on open file. More...
|
| |
| BError | seekBlock (BUInt32 channel, BUInt segment, BTimeStamp time, BUInt32 &blockNumber, BUInt64 &sampleNumber, DataBlock &dataBlock) |
| | Find the block that contains the samples for the time requested. More...
|
| |
| BError | readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &dataBlock) |
| | Read the data block for the given channel or all channels if blockNumber is 0. More...
|
| |
| BError | setDiskBlockSize (BUInt32 blockSize) |
| | Sets up file/stream block size. More...
|
| |
| BUInt32 | getDiskBlockSize () |
| | Returns the data block size in bytes. More...
|
| |
| | DataFileBds () |
| |
| | ~DataFileBds () |
| |
| BError | open (BString fileName, BString mode) |
| | Open the file for reading or writing. More...
|
| |
| BError | close () |
| | Close file. More...
|
| |
| BError | setFormat (BString format) |
| | Sets the sub-format. More...
|
| |
| BError | setInfo (DataInfo &dataInfo, ChannelInfos &channelInfos, WriteOptionsList options=WriteOptionSensorData) |
| | Sets the information. More...
|
| |
| BError | writeData (DataBlock &data) |
| | Writes a data block to the file. More...
|
| |
| DataOrder | getDataOrder () |
| | Get the expected order of writing data, by sample or by channel. More...
|
| |
| BError | getInfo (DataInfo &dataInfo, DataFileOptions options, BList< DataError > &errors) |
| | Get information on open file. More...
|
| |
| BError | seekBlock (BUInt32 channel, BUInt segment, BTimeStamp time, BUInt32 &blockNumber, BUInt64 &sampleNumber, DataBlock &dataBlock) |
| | Find the block that contains the samples for the time requested. More...
|
| |
| BError | readData (BUInt32 channel, BUInt segment, BUInt32 blockNumber, DataBlock &dataBlock) |
| | Read the data block for the given channel or all channels if blockNumber is 0. More...
|
| |
| BError | setDiskBlockSize (BUInt32 blockSize) |
| | Sets up file/stream block size. More...
|
| |
| BUInt32 | getDiskBlockSize () |
| | Returns the data block size in bytes. More...
|
| |
| | DataFile () |
| |
| virtual | ~DataFile () |
| |
| virtual void | init () |
| | Initialise. More...
|
| |
| virtual BString | getFileName () |
| | Return the file name. More...
|
| |
| virtual int | getFeatures () |
| | Get bitmask of supported features. More...
|
| |
| virtual BError | start (BUInt channel, BUInt segment) |
| | Start next segment of data. More...
|
| |
| virtual BError | end () |
| | End segment. More...
|
| |
| virtual BError | fileNameProcess () |
| | Parse the file name for a date/time. More...
|
| |
| virtual BError | getFormat (BString &format) |
| | Get sub-format. More...
|
| |
| virtual BError | getMetaData (ChannelInfos &channelInfos) |
| | Return all known MetaData in the file. More...
|
| |
| void | dataErrorFixup (DataInfo &dataInfo, BList< DataError > &errors) |
| | Fixup data errors, mainly start/end times to be within data. More...
|
| |
| BInt64 | timeCompare (BTimeStamp t1, BTimeStamp t2, BUInt diff) |
| | Compare timestamps with a margin. More...
|
| |
| int | duplicateCheck (DataBlock &data1, DataBlock &data2, BUInt channel=0) |
| | Check if blocks are duplicates. More...
|
| |
| BUInt64 | getFilePosition () |
| |
|
| void | clear () |
| |
| BError | dataBlockAdd (BUInt32 streamlet, BdsDataBlockSig blockSig) |
| | Adds a block to the in memory list. More...
|
| |
| Bool | dataBlockCheckIfExists (BUInt32 streamlet, BdsDataBlockSig blockSig) |
| | Checks if this data block already exists. More...
|
| |
| BError | setInfoRepeat (BUInt32 repeat) |
| | Sets the reapeat period for the information packets. More...
|
| |
| BError | infoSet (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime, BDictString &info) |
| | Sets the information packet and writes this to the file/stream. More...
|
| |
| BError | infoGet (BdsDataPacket &packet, BDictString &info) |
| | Gets the information from an information packet. More...
|
| |
| BError | readInfoPacket () |
| | Read the info packet from the file. More...
|
| |
| BError | addInfoPacket () |
| |
| BError | addInfoExtraPacket () |
| |
| BError | streamletFromChannel (BUInt channel, BUInt &streamlet) |
| | Find streamlet given channel. More...
|
| |
| BError | dataAppend (DataBlock &data) |
| | Appends a data block to the file. More...
|
| |
| BError | dataGet (BUInt channel, BdsDataPacket &packet, DataBlock &data) |
| | Gets the data from a data packet. More...
|
| |
| BError | packetRead (BdsDataPacket &packet) |
| | Reads a packet from the file. More...
|
| |
| BError | packetWrite (BdsDataPacket &packet) |
| | Writes a packet to the file. More...
|
| |
| void | diskBlockReset () |
| | Resets to disk block 0. More...
|
| |
| BError | diskBlockWrite (void *data, BUInt32 numBytes, int header=0) |
| | Writes data to a block in the file. More...
|
| |
| BError | diskBlockWriteFlush () |
| | Flushes a semi-filled block to the file. More...
|
| |
| BError | diskBlockRead (void *data, BUInt32 numBytes, int header=0) |
| | Reads data from a block. More...
|
| |
| BError | diskBlockSeek (BUInt64 position) |
| |
| void | clear () |
| |
| BError | dataBlockAdd (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime) |
| |
| Bool | dataBlockCheckIfExists (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime) |
| | Checks if this data block already exists. More...
|
| |
| BError | setInfoRepeat (BUInt32 repeat) |
| | Sets the reapeat period for the information packets. More...
|
| |
| BError | infoSet (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime, BDictString &info) |
| | Sets the information packet and writes this to the file/stream. More...
|
| |
| BError | infoGet (BdsDataPacket &packet, BDictString &info) |
| | Gets the information from an information packet. More...
|
| |
| BError | readInfoPacket () |
| | Read the info packet from the file. More...
|
| |
| BError | addInfoPacket () |
| |
| BError | addInfoExtraPacket () |
| |
| BError | streamletFromChannel (BUInt channel, BUInt &streamlet) |
| | Find streamlet given channel. More...
|
| |
| BError | dataAppend (DataBlock &data) |
| | Appends a data block to the file. More...
|
| |
| BError | dataGet (BUInt channel, BdsDataPacket &packet, DataBlock &data) |
| | Gets the data from a data packet. More...
|
| |
| BError | setWritePositionForAppend () |
| | Sets the next packet write position. More...
|
| |
| BError | packetRead (BdsDataPacket &packet) |
| | Reads a packet from the file. More...
|
| |
| BError | packetWrite (BdsDataPacket &packet) |
| | Writes a packet to the file. More...
|
| |
| void | diskBlockReset () |
| | Resets to disk block 0. More...
|
| |
| BError | diskBlockWrite (void *data, BUInt32 numBytes, int header=0) |
| | Writes data to a block in the file. More...
|
| |
| BError | diskBlockWriteFlush () |
| | Flushes a semi-filled block to the file. More...
|
| |
| BError | diskBlockRead (void *data, BUInt32 numBytes, int header=0) |
| | Reads data from a block. More...
|
| |
| BError | diskBlockSeek (BUInt64 position) |
| |
| void | clear () |
| |
| BError | dataBlockAdd (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime) |
| |
| Bool | dataBlockCheckIfExists (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime) |
| | Checks if this data block already exists. More...
|
| |
| BError | setInfoRepeat (BUInt32 repeat) |
| | Sets the reapeat period for the information packets. More...
|
| |
| BError | infoSet (BUInt32 streamlet, BTimeStamp startTime, BTimeStamp endTime, BDictString &info) |
| | Sets the information packet and writes this to the file/stream. More...
|
| |
| BError | infoGet (BdsDataPacket &packet, BDictString &info) |
| | Gets the information from an information packet. More...
|
| |
| BError | readInfoPacket () |
| | Read the info packet from the file. More...
|
| |
| BError | addInfoPacket () |
| |
| BError | addInfoExtraPacket () |
| |
| BError | streamletFromChannel (BUInt channel, BUInt &streamlet) |
| | Find streamlet given channel. More...
|
| |
| BError | dataAppend (DataBlock &data) |
| | Appends a data block to the file. More...
|
| |
| BError | dataGet (BUInt channel, BdsDataPacket &packet, DataBlock &data) |
| | Gets the data from a data packet. More...
|
| |
| BError | setWritePositionForAppend () |
| | Sets the next packet write position. More...
|
| |
| BError | packetRead (BdsDataPacket &packet) |
| | Reads a packet from the file. More...
|
| |
| BError | packetWrite (BdsDataPacket &packet) |
| | Writes a packet to the file. More...
|
| |
| BError | diskBlockWrite (void *data, BUInt32 numBytes, int header=0) |
| | Writes data to a block in the file. More...
|
| |
| BError | diskBlockWriteFlush () |
| | Flushes a semi-filled block to the file. More...
|
| |
| BError | diskBlockRead (void *data, BUInt32 numBytes, int header=0) |
| | Reads data from a block. More...
|
| |
| BError | diskBlockSeek (BUInt64 position) |
| |
This class implements the BDS Data File/Stream access system.