![]() |
VRS
A file format for sensor data.
|
Class to hold data that is written directly in the file at the end of a record. Record data held by DataSource is copied in an internal buffer when the record is created, so it might be compressed, and the source buffers, including datalayouts, reused/modified, without risk of corrupting the record's data, at the expense of a memory copy. By using DirectWriteRecordData, you can avoid that copy, with the following limitations: More...
#include <DataSource.h>
Public Member Functions | |
virtual size_t | getDataSize () const =0 |
Get the total amount of data that will be written to disk. This value may not change. | |
virtual int | write (WriteFileHandler &file) const =0 |
Class to hold data that is written directly in the file at the end of a record. Record data held by DataSource is copied in an internal buffer when the record is created, so it might be compressed, and the source buffers, including datalayouts, reused/modified, without risk of corrupting the record's data, at the expense of a memory copy. By using DirectWriteRecordData, you can avoid that copy, with the following limitations:
|
pure virtual |
file | File to write the data to. |