bool operator==(JointTraj &rhs)
== operator implementation
JointTraj(void)
Default constructor.
~JointTraj(void)
Destructor.
void init()
Initializes a empty joint data.
unsigned int byteLength()
Virtual method returns the object size when packed into a ByteArray.
bool getPoint(industrial::shared_types::shared_int index, industrial::joint_traj_pt::JointTrajPt &point)
Gets a point value within the buffer.
Interface for loading and unloading a class to/from a ByteArray.
industrial::joint_traj_pt::JointTrajPt points_[MAX_NUM_POINTS]
internal data buffer
bool isFull()
returns True if buffer is full
Class encapsulated joint trajectory point data. The point data serves as a waypoint along a trajector...
bool addPoint(industrial::joint_traj_pt::JointTrajPt &point)
Adds a point value to the end of the buffer.
The byte array wraps a dynamic array of bytes (i.e. char).
industrial::shared_types::shared_int size_
size of trajectory
void copyFrom(JointTraj &src)
Copies the passed in value.
Class encapsulated joint trajectory. A joint trajectory includes an array of JointTrajPt data types...
int getMaxNumPoints() const
returns the maximum number of points the message holds
unsigned int byteLength()
Virtual method returns the object size when packed into a ByteArray.
bool unload(industrial::byte_array::ByteArray *buffer)
Virtual method for unloading an object from a ByteArray.
static const industrial::shared_types::shared_int MAX_NUM_POINTS
maximum number of joints positions that can be held in the message.
bool load(industrial::byte_array::ByteArray *buffer)
Virtual method for loading an object into a ByteArray.
industrial::shared_types::shared_int size()
Gets a size of trajectory.