Class TextMessage

Inheritance Relationships

Base Type

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

Public Members

uint8_t message_length_
std::string message_
uint8_t source_length_
std::string source_
uint8_t warning_level_
uint8_t message_type_
uint16_t protocol_version_