MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
mdf::SampleRecord Struct Reference

Simple record buffer structure. More...

#include "mdf/samplerecord.h"

Public Member Functions

size_t SampleSize () const
 Returns the size of a record buffer.
 

Public Attributes

uint64_t timestamp = 0
 Nanosecond since midnight 1970-01-01 UTC.
 
uint64_t record_id = 0
 Unique record ID within the data group.
 
std::vector< uint8_t > record_buffer
 Record buffer (fixed size).
 
bool vlsd_data = false
 True if the vlsd_buffer holds data.
 
std::vector< uint8_t > vlsd_buffer
 VLSD record buffer.
 

Detailed Description

The sample record structure is used when writing samples to an MDF file. The struct has a timestamp, record ID and the raw record bytes.


The documentation for this struct was generated from the following file: