Class ParseDatagramHeader
Defined in File ParseDatagramHeader.h
Class Documentation
-
class ParseDatagramHeader
Parser for the datagram header.
Parses the datagram header to match the udp packets together so the complete datapacket can be used in further parsing steps. Uses the raw data from the udp packets.
Public Functions
-
ParseDatagramHeader()
Constructor of the parser.
-
bool parseUDPSequence(const datastructure::PacketBuffer &buffer, sick::datastructure::DatagramHeader &header) const
Parses the udp sequence to get the identification and the offset for the datagram header.
- Parameters
buffer – The incoming udp datapackets.
header – The parsed datagram header.
- Returns
If parsing the datagram header was successful.
-
ParseDatagramHeader()