Class ParseTypeCodeData

Class Documentation

class ParseTypeCodeData

Parser to read the type code of a tcp sequence.

Public Functions

ParseTypeCodeData()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::TypeCode &type_code) const

Parses a tcp sequence to read the type code of the sensor.

Parameters
  • buffer – The incoming tcp sequence.

  • type_code – Reference to the type code, which will be written while parsing.

Returns

If parsing was successful.