Template Class URPackage
Defined in File package.h
Class Documentation
-
template<typename HeaderT>
class URPackage The URPackage is an abstract class. From that two implementations are inherited, one for the primary, one for the RTDE interface (primary_interface::PrimaryPackage; rtde_interface::RTDEPackage). The URPackage makes use of the template HeaderT.
Public Functions
-
virtual ~URPackage() = default
-
virtual bool parseWith(BinParser &bp) = 0
Sets the attributes of the package by parsing a serialized representation of the package.
- Parameters:
bp – A parser containing a serialized version of the package
- Returns:
True, if the package was parsed successfully, false otherwise
-
virtual std::string toString() const = 0
Produces a human readable representation of the package object.
- Returns:
A string representing the object
-
virtual ~URPackage() = default