Class ParseData

Class Documentation

class ParseData

Parses the udp data packets depending on which data will be received.

Public Functions

ParseData()

Constructor of the parser.

sick::datastructure::Data parseUDPSequence(const sick::datastructure::PacketBuffer &buffer) const

Parses the udp data transferred in the packet buffer. It will be parsed into the data reference.

Parameters

buffer – The incoming data buffer.

Returns

Parsed data

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, sick::datastructure::Data &data) const