51 namespace joint_traj_pt_full_message
54 JointTrajPtFullMessage::JointTrajPtFullMessage(
void)
59 JointTrajPtFullMessage::~JointTrajPtFullMessage(
void)
70 if (data.
unload(this->point_))
76 LOG_ERROR(
"Failed to unload joint traj pt data");
84 this->point_.copyFrom(point);
87 void JointTrajPtFullMessage::init()
94 bool JointTrajPtFullMessage::load(
ByteArray *buffer)
97 LOG_COMM(
"Executing joint traj. pt. message load");
98 if (buffer->
load(this->point_))
105 LOG_ERROR(
"Failed to load joint traj. pt data");
113 LOG_COMM(
"Executing joint traj pt message unload");
115 if (buffer->
unload(this->point_))
122 LOG_ERROR(
"Failed to unload joint traj pt data");
void init(const M_string &remappings)
Contains platform specific type definitions that guarantee the size of primitive data types...
This class defines a simple messaging protocol for communicating with an industrial robot controller...
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
loads a boolean into the byte array
#define LOG_ERROR(format,...)
The byte array wraps a dynamic array of bytes (i.e. char).
Class encapsulated joint trajectory point data. The point data serves as a waypoint along a trajector...
industrial::byte_array::ByteArray & getData()
Returns a reference to the internal data member.
bool unload(industrial::shared_types::shared_bool &value)
unloads a boolean value from the byte array