37 namespace primary_interface
void parse(T &val)
Parses the next bytes as given type.
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
virtual std::string toString() const
Produces a human readable representation of the package object.
Base consumer for primary packages.
void parseRemainder(std::string &val)
Parses the remaining bytes as a string.
The BinParser class handles a byte buffer and functionality to iteratively parse the content...
virtual bool consume(std::shared_ptr< PrimaryPackage > product) final
This consume method is usally being called by the Pipeline structure. We don't necessarily need to kn...
int8_t project_name_length_
virtual bool consumeWith(AbstractPrimaryConsumer &consumer)
Consume this package with a specific consumer.
std::string project_name_