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

Public Member Functions

 StreamSignals (Context *context, const xml::Stream *configuration, ed247_internal_channel_t *ed247_api_channel, uint32_t sample_size_size)
 
uint32_t get_sampling_period_us () override
 
- Public Member Functions inherited from ed247::Stream
 Stream (Context *context, const xml::Stream *configuration, ed247_internal_channel_t *ed247_api_channel, uint32_t sample_size_size)
 
 Stream (const Stream &other)=delete
 
Streamoperator= (const Stream &other)=delete
 
const std::string & get_name () const
 
const std::string & get_icd () const
 
const std::string & get_comment () const
 
ed247_uid_t get_uid () const
 
ed247_stream_type_t get_type () const
 
ed247_direction_t get_direction () const
 
uint32_t get_sample_max_size_bytes () const
 
uint32_t get_sample_max_number () const
 
uint32_t get_max_size () const
 
ed247_internal_channel_tget_api_channel ()
 
void set_user_data (void *user_data)
 
void get_user_data (void **user_data)
 
bool is_signal_based () const
 
StreamAssistantget_assistant ()
 
signal_list_t & get_signals ()
 
ed247_internal_signal_list_tget_client_signals ()
 
signal_list_t find_signals (std::string str_regex)
 
signal_ptr_t get_signal (std::string str_name)
 
uint32_t get_incoming_sample_number ()
 
uint32_t get_outgoing_sample_number ()
 
bool push_sample (const void *sample_data, uint32_t sample_size, const ed247_timestamp_t *data_timestamp, bool *full)
 
StreamSamplepop_sample (bool *empty)
 
uint32_t encode (char *frame, uint32_t frame_size)
 
bool decode (const char *frame, uint32_t frame_size, const ed247_sample_details_t &frame_details)
 
ed247_status_t register_callback (ed247_context_t context, ed247_stream_recv_callback_t callback)
 
ed247_status_t unregister_callback (ed247_context_t context, ed247_stream_recv_callback_t callback)
 
bool run_callbacks ()
 

Additional Inherited Members

- Protected Attributes inherited from ed247::Stream
Context_context
 
const xml::Stream_configuration
 
uint32_t _sample_size_size
 
uint32_t _sample_first_header_size
 
uint32_t _sample_next_header_size
 
uint32_t _max_size
 
signal_list_t _signals
 
std::unique_ptr< ed247_internal_signal_list_t_client_signals
 
std::unique_ptr< StreamAssistant_assistant
 
StreamSampleRingBuffer _recv_stack
 
StreamSampleRingBuffer _send_stack
 

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