Template Class Parser

Class Documentation

template<typename T>
class Parser

The parser is a general paser. The namsepace rtde_interface and primary_interface both iclude classes which inherit from it (rtdeParser and primaryParser). The parser functionality also embodies a factory function taking in an uint8.

Public Functions

Parser() = default
virtual ~Parser() = default
virtual bool parse(BinParser &bp, std::vector<std::unique_ptr<T>> &results) = 0

Declares the parse function.

Parameters:
  • bp – Instance of class binaryParser

  • results – A unique pointer