33 typedef struct _xmlNode *xmlNodePtr;
40 std::unique_ptr<Component> load_filepath(
const std::string & filepath);
41 std::unique_ptr<Component> load_content(
const std::string & content);
46 virtual void load(
const xmlNodePtr xml_node) = 0;
51 std::string _dst_ip_address;
52 uint16_t _dst_ip_port;
53 std::string _src_ip_address;
54 uint16_t _src_ip_port;
55 std::string _mc_ip_address;
60 virtual void load(
const xmlNodePtr xml_node)
override final;
65 std::vector<UdpSocket> _udp_sockets;
66 virtual void load(
const xmlNodePtr xml_node)
override final;
75 virtual void load(
const xmlNodePtr xml_node)
override final;
83 virtual void load(
const xmlNodePtr xml_node)
override final;
92 virtual void load(
const xmlNodePtr xml_node)
override final;
102 std::string _comment;
104 uint32_t _byte_offset;
105 std::string _analogue_electrical_unit;
107 std::string _nad_unit;
108 std::vector<uint32_t> _nad_dimensions;
109 uint32_t _vnad_position;
110 uint32_t _vnad_max_number;
112 uint32_t get_sample_max_size_bytes()
const;
113 inline uint32_t get_nad_type_size()
const {
return get_nad_type_size(_nad_type); }
123 virtual void load(
const xmlNodePtr xml_node)
override final;
129 virtual void load(
const xmlNodePtr xml_node)
override final;
135 virtual void load(
const xmlNodePtr xml_node)
override final;
141 virtual void load(
const xmlNodePtr xml_node)
override final;
152 std::string _comment;
155 uint32_t _sample_max_number;
156 uint32_t _sample_max_size_bytes;
157 bool _sample_size_fixed;
160 virtual bool is_signal_based()
const = 0;
161 virtual void validate(
const xmlNodePtr closest_node) = 0;
169 virtual bool is_signal_based()
const override final {
return false; }
175 std::vector<std::unique_ptr<Signal>> _signal_list;
176 uint32_t _sampling_period_us;
177 virtual bool is_signal_based()
const override final {
return true; }
184 virtual void load(
const xmlNodePtr xml_node)
override final;
185 virtual void validate(
const xmlNodePtr closest_node)
override final;
193 virtual void load(
const xmlNodePtr xml_node)
override final;
194 virtual void validate(
const xmlNodePtr closest_node)
override final;
200 virtual void load(
const xmlNodePtr xml_node)
override final;
201 virtual void validate(
const xmlNodePtr closest_node)
override final;
207 virtual void load(
const xmlNodePtr xml_node)
override final;
208 virtual void validate(
const xmlNodePtr closest_node)
override final;
217 virtual void load(
const xmlNodePtr xml_node)
override final;
218 virtual void validate(
const xmlNodePtr closest_node)
override final;
224 virtual void load(
const xmlNodePtr xml_node)
override final;
225 virtual void validate(
const xmlNodePtr closest_node)
override final;
231 virtual void load(
const xmlNodePtr xml_node)
override final;
232 virtual void validate(
const xmlNodePtr closest_node)
override final;
238 virtual void load(
const xmlNodePtr xml_node)
override final;
239 virtual void validate(
const xmlNodePtr closest_node)
override final;
245 virtual void load(
const xmlNodePtr xml_node)
override final;
246 virtual void validate(
const xmlNodePtr closest_node)
override final;
255 std::string _comment;
259 std::vector<std::unique_ptr<Stream>> _stream_list;
260 bool _is_simple_channel;
263 virtual void load(
const xmlNodePtr xml_node)
override final;
273 std::string _version;
276 std::string _comment;
277 std::string _file_producer_identifier;
278 std::string _file_producer_comment;
279 std::vector<Channel> _channel_list;
282 virtual void load(
const xmlNodePtr xml_node)
override final;
Definition: ed247_xml.h:221
Definition: ed247_xml.h:132
Definition: ed247_xml.h:49
Definition: ed247_xml.h:188
Definition: ed247_xml.h:63
ed247_standard_t
ED247 Standard revisions.
Definition: ed247.h:104
ed247_direction_t
Stream direction.
Definition: ed247.h:153
ed247_component_type_t
Component types.
Definition: ed247.h:121
Definition: ed247_xml.h:69
Definition: ed247_xml.h:126
Definition: ed247_xml.h:181
Definition: ed247_xml.h:235
ed247_signal_type_t
Signal types.
Definition: ed247.h:164
uint16_t ed247_uid_t
Unique identifier type.
Definition: ed247.h:115
Definition: ed247_xml.h:44
Definition: ed247_xml.cpp:115
Definition: ed247_xml.h:242
Definition: ed247_xml.h:98
Definition: ed247_xml.h:252
Definition: ed247_xml.h:78
Definition: ed247_xml.h:147
Definition: ed247_xml.h:120
Definition: ed247_xml.h:204
Definition: ed247_xml.h:269
ed247_nad_type_t
NAD type.
Definition: ed247.h:176
Definition: ed247_channel.cpp:37
ed247_stream_type_t
Stream types.
Definition: ed247.h:132
Definition: ed247_xml.h:211
ed247_yesno_t
Yes / No.
Definition: ed247.h:94
Definition: ed247_xml.h:228
Definition: ed247_xml.h:197
Definition: ed247_xml.h:173
Definition: ed247_xml.h:166
Definition: ed247_xml.h:138