Go to the documentation of this file.
51 namespace robot_status_message
54 RobotStatusMessage::RobotStatusMessage(
void)
59 RobotStatusMessage::~RobotStatusMessage(
void)
71 if (data.
unload(this->status_))
77 LOG_ERROR(
"Failed to unload robot status data");
85 this->status_.copyFrom(status);
88 void RobotStatusMessage::init()
97 LOG_COMM(
"Executing robot status message load");
98 if (buffer->
load(this->status_))
105 LOG_ERROR(
"Failed to load robot status data");
113 LOG_COMM(
"Executing robot status message unload");
115 if (buffer->
unload(this->status_))
122 LOG_ERROR(
"Failed to unload robot status data");
Contains platform specific type definitions that guarantee the size of primitive data types.
bool unload(industrial::shared_types::shared_bool &value)
unloads a boolean value from the byte array
industrial::byte_array::ByteArray & getData()
Returns a reference to the internal data member.
#define LOG_ERROR(format,...)
int getCommType()
Gets message type(see CommType)
This class defines a simple messaging protocol for communicating with an industrial robot controller.
The byte array wraps a dynamic array of bytes (i.e. char).
#define LOG_COMM(format,...)
Class encapsulated robot status data. The robot status data is meant to mirror the industrial_msgs/Ro...
bool load(industrial::shared_types::shared_bool value)
loads a boolean into the byte array
void init(const M_string &remappings)
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53