25 #ifndef _ED247_SIGNAL_H_ 26 #define _ED247_SIGNAL_H_ 28 #include "ed247_xml.h" 29 #include "ed247_friend_test.h" 32 #include <unordered_map> 53 const std::string& get_name()
const {
return _configuration->_name; }
54 const std::string& get_comment()
const {
return _configuration->_comment; }
55 const std::string& get_icd()
const {
return _configuration->_icd; }
57 uint32_t get_byte_offset()
const {
return _configuration->_byte_offset; }
58 const std::string& get_analogue_electrical_unit()
const {
return _configuration->_analogue_electrical_unit; }
61 uint32_t get_nad_type_size()
const {
return _configuration->get_nad_type_size(); }
62 const std::string& get_nad_unit()
const {
return _configuration->_nad_unit; }
63 const std::vector<uint32_t> get_nad_dimensions() {
return _configuration->_nad_dimensions; }
65 uint32_t get_vnad_position()
const {
return _configuration->_vnad_position; }
66 uint32_t get_vnad_max_number()
const {
return _configuration->_vnad_max_number; }
67 uint32_t get_sample_max_size_bytes()
const {
return _configuration->get_sample_max_size_bytes(); }
74 void set_user_data(
void *user_data) { _user_data = user_data; }
75 void get_user_data(
void **user_data) { *user_data = _user_data; }
85 typedef std::shared_ptr<Signal> signal_ptr_t;
86 typedef std::vector<signal_ptr_t> signal_list_t;
93 signal_ptr_t
get(
const std::string& name);
94 signal_list_t find(
const std::string& regex);
104 std::unordered_map<std::string, signal_ptr_t> _signals;
Definition: ed247_signal.h:42
Definition: ed247_signal.h:89
ed247_signal_type_t
Signal types.
Definition: ed247.h:164
Definition: ed247_xml.h:98
Definition: ed247_stream.h:33
Definition: ed247_signal.h:37
ed247_nad_type_t
NAD type.
Definition: ed247.h:176
Definition: ed247_signal.h:36
Definition: ed247_channel.cpp:37