ddt 1.2.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ddt::DataPacket Struct Reference

#include <ddtMemoryAccessor.hpp>

Public Member Functions

 DataPacket (const char *const ds_id, const int32_t check, const int vector_length)
 

Public Attributes

std::string data_stream_identifier
 
uint32_t checksum
 
int32_t sample_length
 
int64_t writer_index = -1
 
uint64_t timestamp = 0
 
DataSample sample
 

Detailed Description

Contains the data packet

Constructor & Destructor Documentation

◆ DataPacket()

ddt::DataPacket::DataPacket ( const char *const ds_id,
const int32_t check,
const int vector_length )
inline

Constructor

Parameters
ds_idThe data stream identifier.
checkThe checksum of the data packet.
vector_lengthThe length of the data vector.

Member Data Documentation

◆ checksum

uint32_t ddt::DataPacket::checksum

The checksum of this data packet

◆ data_stream_identifier

std::string ddt::DataPacket::data_stream_identifier

The data stream identifier

◆ sample

DataSample ddt::DataPacket::sample

The data sample object

◆ sample_length

int32_t ddt::DataPacket::sample_length

The data sample length

◆ timestamp

uint64_t ddt::DataPacket::timestamp = 0

The data sample time stamp

◆ writer_index

int64_t ddt::DataPacket::writer_index = -1

The writer index


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