34 namespace primary_interface
49 ss <<
"Type: " <<
static_cast<int>(
state_type_) << std::endl;
Base consumer for primary packages.
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
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...
virtual std::string toString() const
Produces a human readable representation of the package object.
virtual bool consumeWith(AbstractPrimaryConsumer &consumer)
Consume this specific package with a specific consumer.
virtual std::string toString() const
Produces a human readable representation of the package object.
virtual bool parseWith(comm::BinParser &bp)
Sets the attributes of the package by parsing a serialized representation of the package.
RobotStateType state_type_