Go to the documentation of this file.
29 #ifndef UR_CLIENT_LIBRARY_ROBOT_MESSAGE_H_INCLUDED
30 #define UR_CLIENT_LIBRARY_ROBOT_MESSAGE_H_INCLUDED
36 namespace primary_interface
106 virtual std::string
toString()
const;
@ ROBOT_MESSAGE_REQUEST_VALUE
@ ROBOT_MESSAGE_ERROR_CODE
RobotMessagePackageType
Possible RobotMessage types.
RobotMessagePackageType message_type_
@ ROBOT_MESSAGE_RUNTIME_EXCEPTION
The RobotMessage class is a parent class for the different received robot messages.
@ ROBOT_MESSAGE_PROGRAM_LABEL
RobotMessage(const uint64_t timestamp, const uint8_t source)
Creates a new RobotMessage object to be filled from a package.
virtual bool consumeWith(AbstractPrimaryConsumer &consumer)
Consume this package with a specific consumer.
@ ROBOT_MESSAGE_SAFETY_MODE
@ PROGRAM_STATE_MESSAGE_VARIABLE_UPDATE
virtual std::string toString() const
Produces a human readable representation of the package object.
virtual ~RobotMessage()=default
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.
RobotMessage(const uint64_t timestamp, const int8_t source, const RobotMessagePackageType message_type)
Creates a new RobotMessage object to be filled from a package.
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