Template Class PacketParser

Inheritance Relationships

Base Type

Class Documentation

template<class MessageParserType = MessageParser<SupportedPublicMessages>>
class PacketParser : public trmb::gsof::detail::PacketParserBase

Public Functions

inline PacketParser()
inline PacketParser(const std::byte *data, std::size_t length)

The PacketParser class expects to be parsing a report (DCOL transmission of type 0x40) containing one or more GSOF messages.

Parameters:
  • data – Pointer to the start of the report (i.e. contains START_TX byte and page numbers)

  • length

virtual bool isSupported() const override
MessageParserType getMessageParser() const