Go to the documentation of this file.
29 #ifndef UR_CLIENT_LIBRARY_PRIMARY_PACKAGE_H_INCLUDED
30 #define UR_CLIENT_LIBRARY_PRIMARY_PACKAGE_H_INCLUDED
37 namespace primary_interface
39 class AbstractPrimaryConsumer;
82 virtual std::string
toString()
const;
virtual ~PrimaryPackage()=default
PrimaryPackage()
Creates a new PrimaryPackage object.
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
virtual bool consumeWith(AbstractPrimaryConsumer &consumer)=0
Consume this package with a specific consumer. This should be overwritten in inherited packages.
virtual std::string toString() const
Produces a human readable representation of the package object.
std::unique_ptr< uint8_t[]> buffer_
The URPackage a parent class. From that two implementations are inherited, one for the primary,...
The BinParser class handles a byte buffer and functionality to iteratively parse the content.
The PrimaryPackage is solely an abstraction level. It inherits form the URPackage and is also a paren...
Base consumer for primary packages.
ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Mon May 26 2025 02:35:58