ED247 Library  VA2.3.0
Implementation of ED247-A standard
ed247::StreamSample Class Reference
Inheritance diagram for ed247::StreamSample:
Inheritance graph
Collaboration diagram for ed247::StreamSample:
Collaboration graph

Public Member Functions

 StreamSample (uint32_t capacity)
 
 StreamSample (const StreamSample &other)=delete
 
StreamSampleoperator= (const StreamSample &other)=delete
 
 StreamSample (StreamSample &&other)
 
bool copy (const StreamSample &sample)
 
void set_data_timestamp (const ed247_timestamp_t &data_timestamp)
 
void set_recv_timestamp (const ed247_timestamp_t &recv_timestamp)
 
void set_frame_details (const ed247_sample_details_t &frame_details)
 
const ed247_timestamp_tdata_timestamp () const
 
const ed247_timestamp_trecv_timestamp () const
 
const ed247_sample_details_tframe_details () const
 
void update_recv_timestamp ()
 
- Public Member Functions inherited from ed247::Sample
 Sample (uint32_t capacity)
 
 Sample (const Sample &other)=delete
 
Sampleoperator= (const Sample &other)=delete
 
 Sample (Sample &&other)
 
void allocate (uint32_t capacity)
 
const uint32_t & size () const
 
const uint32_t & capacity () const
 
const char * data () const
 
bool empty () const
 
bool copy (const char *data, const uint32_t &size)
 
bool copy (const void *data, const uint32_t &size)
 
char * data_rw ()
 
void set_size (const uint32_t &size)
 
void reset ()
 

Protected Attributes

ed247_timestamp_t _data_timestamp
 
ed247_timestamp_t _recv_timestamp
 
ed247_sample_details_t _frame_details
 

The documentation for this class was generated from the following files: