Go to the documentation of this file.
41 return not (*
this == rhs);
70 return not (*
this == rhs);
98 return not (*
this == rhs);
142 bool new_little_endian,
144 double new_mudpi_timestamp,
145 double new_pcap_timestamp)
166 std::vector<uint8_t> new_payload_data,
167 std::map<uint16_t, FrameMetadata> new_metadata)
190 std::map<SampleIdentifier, std::map<uint16_t, FrameMetadata>> m_packet_meta_data;
191 std::map<SampleIdentifier, std::map<uint16_t, std::vector<uint8_t>>> m_packet_payloads;
192 std::map<SampleIdentifier, uint16_t> m_frame_count;
RTMSFrameType
Possible frame types of a RTMS packet.
Definition: packetCombiner.hpp:111
bool operator==(const SampleIdentifier &rhs) const
Definition: packetCombiner.hpp:65
bool operator<(const StreamIdentifier &rhs) const
Definition: packetCombiner.hpp:25
@ RTMS_PAYLOAD
Definition: packetCombiner.hpp:113
Unique identifier for packets of a single stream.
Definition: packetCombiner.hpp:20
Fits converter Interface.
StreamIdentifier(int32_t new_topic_id, uint16_t new_component_id, uint16_t new_application_tag)
Definition: packetCombiner.hpp:44
FrameIdentifier(SampleIdentifier new_sample_id, uint16_t new_frame_id)
Definition: packetCombiner.hpp:101
SampleIdentifier sample_id
Definition: packetCombiner.hpp:83
PacketCombiner(std::function< void(const CombinedFrames &)> callback)
This creates a new Packet combiner.
Definition: packetCombiner.cpp:15
FrameIdentifier()=default
bool operator!=(const StreamIdentifier &rhs) const
Definition: packetCombiner.hpp:40
bool operator!=(const FrameIdentifier &rhs) const
Definition: packetCombiner.hpp:97
Data about the combined packets of a single sample.
Definition: packetCombiner.hpp:160
void AddSample(const PacketData &data)
This function is called to add a new packet to be combined with the others.
Definition: packetCombiner.cpp:21
Unique identifier for packets of a single sample.
Definition: packetCombiner.hpp:55
@ RTMS_TRAILER
Definition: packetCombiner.hpp:114
uint16_t component_id
Definition: packetCombiner.hpp:22
unsigned short uint16_t
Definition: mudpi.h:15
StreamIdentifier()=default
SampleIdentifier(StreamIdentifier new_stream_id, uint32_t new_sample_id)
Definition: packetCombiner.hpp:72
bool operator==(const FrameIdentifier &rhs) const
Definition: packetCombiner.hpp:93
bool operator<(const SampleIdentifier &rhs) const
Definition: packetCombiner.hpp:58
bool operator==(const StreamIdentifier &rhs) const
Definition: packetCombiner.hpp:35
uint16_t frame_id
Definition: packetCombiner.hpp:84
SampleIdentifier()=default
bool operator<(const FrameIdentifier &rhs) const
Definition: packetCombiner.hpp:86
unsigned int uint32_t
Definition: mudpi.h:16
This class combines the packets of a sample.
Definition: packetCombiner.hpp:175
Definition: fitsConverterIf.hpp:22
int int32_t
Definition: mudpi.h:17
std::vector< uint8_t > payload_data
Definition: packetCombiner.hpp:162
SampleIdentifier identifier
Definition: packetCombiner.hpp:161
int32_t topic_id
Definition: packetCombiner.hpp:21
CombinedFrames(SampleIdentifier new_identifier, std::vector< uint8_t > new_payload_data, std::map< uint16_t, FrameMetadata > new_metadata)
Definition: packetCombiner.hpp:165
Unique identifier for packets of a single frame.
Definition: packetCombiner.hpp:82
std::map< uint16_t, FrameMetadata > metadata
Definition: packetCombiner.hpp:163
bool operator!=(const SampleIdentifier &rhs) const
Definition: packetCombiner.hpp:69
uint16_t application_tag
Definition: packetCombiner.hpp:23
@ RTMS_LEADER
Definition: packetCombiner.hpp:112
StreamIdentifier stream_id
Definition: packetCombiner.hpp:56
uint32_t sample_id
Definition: packetCombiner.hpp:57