Class RTDEPackage

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class RTDEPackage : public urcl::comm::URPackage<PackageHeader>

brief The RTDEPackage is solely an abstraction level. It inherits form the URPackage and is also a parent class for rtde_interface::TextMessage.

Subclassed by urcl::rtde_interface::ControlPackagePause, urcl::rtde_interface::ControlPackagePauseRequest, urcl::rtde_interface::ControlPackageSetupInputs, urcl::rtde_interface::ControlPackageSetupInputsRequest, urcl::rtde_interface::ControlPackageSetupOutputs, urcl::rtde_interface::ControlPackageSetupOutputsRequest, urcl::rtde_interface::ControlPackageStart, urcl::rtde_interface::ControlPackageStartRequest, urcl::rtde_interface::DataPackage, urcl::rtde_interface::GetUrcontrolVersion, urcl::rtde_interface::GetUrcontrolVersionRequest, urcl::rtde_interface::RequestProtocolVersion, urcl::rtde_interface::RequestProtocolVersionRequest, urcl::rtde_interface::TextMessage

Public Functions

RTDEPackage() = delete

Creates a new RTDEPackage object.

inline RTDEPackage(const PackageType type)
virtual ~RTDEPackage() = 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

Protected Attributes

std::unique_ptr<uint8_t[]> buffer_
size_t buffer_length_
PackageType type_