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

#include <ddtMemoryAccessor.hpp>

Public Member Functions

 DataSampleShared (const int32_t id, const int md_length, const int vector_length, const void_allocator &void_alloc)
 

Public Attributes

int32_t topic_id = 0
 
int32_t meta_data_length
 
uint8_vector meta_data
 
int32_t sample_id
 
uint8_vector data
 

Detailed Description

Contains the data.

Constructor & Destructor Documentation

◆ DataSampleShared()

ddt::DataSampleShared::DataSampleShared ( const int32_t  id,
const int  md_length,
const int  vector_length,
const void_allocator void_alloc 
)
inline

Constructor

Parameters
idSample ID to uniquely identify the data sample.
md_lengthThe length of the meta data.
vector_lengthThe length of the data vector.
void_allocBoost allocator for the segment manager.

Member Data Documentation

◆ data

uint8_vector ddt::DataSampleShared::data

The image data as vector of bytes

◆ meta_data

uint8_vector ddt::DataSampleShared::meta_data

The meta data as vector of bytes

◆ meta_data_length

int32_t ddt::DataSampleShared::meta_data_length

The length of the meta data blob

◆ sample_id

int32_t ddt::DataSampleShared::sample_id

Sample ID to uniquely identify the data sample

◆ topic_id

int32_t ddt::DataSampleShared::topic_id = 0

Topic ID to identify the kind of meta data


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