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

#include <ddtMemoryAccessor.hpp>

Public Member Functions

 DataPacketShared (const char *const ds_id, const int32_t check, const int vector_length, const void_allocator &void_alloc)
 

Public Attributes

char_string data_stream_identifier
 
uint32_t checksum
 
int32_t sample_length
 
int64_t writer_index = -1
 
uint64_t timestamp = 0
 
DataSampleShared sample
 

Detailed Description

The data packet contains all elements that are specified in the ICD file. All values will be transferred to the corresponding MAL data entity before it is send over network.

Constructor & Destructor Documentation

◆ DataPacketShared()

ddt::DataPacketShared::DataPacketShared ( const char *const ds_id,
const int32_t check,
const int vector_length,
const void_allocator & void_alloc )
inline

Constructor

Parameters
ds_idThe data stream identifier.
checkThe checksum of the data packet.
vector_lengthThe length of the data vector.
void_allocBoost allocator for the segment manager.

Member Data Documentation

◆ checksum

uint32_t ddt::DataPacketShared::checksum

The checksum of this data packet

◆ data_stream_identifier

char_string ddt::DataPacketShared::data_stream_identifier

The data stream identifier

◆ sample

DataSampleShared ddt::DataPacketShared::sample

The data sample object

◆ sample_length

int32_t ddt::DataPacketShared::sample_length

The data sample length

◆ timestamp

uint64_t ddt::DataPacketShared::timestamp = 0

The data sample time stamp

◆ writer_index

int64_t ddt::DataPacketShared::writer_index = -1

The writer index


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