Class TextMessage
Defined in File text_message.h
Inheritance Relationships
Base Type
public urcl::rtde_interface::RTDEPackage
(Class RTDEPackage)
Class Documentation
-
class TextMessage : public urcl::rtde_interface::RTDEPackage
This class handles RTDE text messages sent by the robot.
Public Functions
-
inline TextMessage(uint16_t protocol_version)
Creates a new TextMessage object.
- Parameters:
protocol_version – Protocol version used for the RTDE communication
-
virtual ~TextMessage() = default
-
virtual bool parseWith(comm::BinParser &bp)
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
Produces a human readable representation of the package object.
- Returns:
A string representing the object
-
inline TextMessage(uint16_t protocol_version)