Class ParseGeneralSystemState

Class Documentation

class ParseGeneralSystemState

Parser to parse the general system state from the udp packets.

Public Functions

ParseGeneralSystemState()

Constructor of the parser.

datastructure::GeneralSystemState parseUDPSequence(const sick::datastructure::PacketBuffer &buffer, datastructure::Data &data) const

Parses the udp sequence to read the general system state if enabled.

Parameters
  • buffer – The incoming sequence.

  • data – The already parsed data. Used to check if the general system state is enabled.

Returns

If parsing was successful.