Class ParseProjectName

Class Documentation

class ParseProjectName

Parser to read the project name from a tcp sequence.

Public Functions

ParseProjectName()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::ProjectName &project_name) const

Parses a tcp sequence to read the project name of the sensor.

Parameters
  • buffer – The incoming data sequence.

  • project_name – Reference to the parsed project name.

Returns

If parsing the project name was successful.

std::string readProjectName(std::vector<uint8_t>::const_iterator data_ptr) const