$search
Class encapsulated joint trajectory point message generation methods (either to or from a SimpleMessage type. More...
#include <joint_traj_pt_message.h>
Public Member Functions | |
unsigned int | byteLength () |
Virtual method returns the object size when packed into a ByteArray. | |
void | init () |
Initializes a new message. | |
void | init (industrial::joint_traj_pt::JointTrajPt &point) |
Initializes message from a joint trajectory point structure. | |
bool | init (industrial::simple_message::SimpleMessage &msg) |
Initializes message from a simple message. | |
JointTrajPtMessage (void) | |
Default constructor. | |
bool | load (industrial::byte_array::ByteArray *buffer) |
Virtual method for loading an object into a ByteArray. | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
Virtual method for unloading an object from a ByteArray. | |
~JointTrajPtMessage (void) | |
Destructor. | |
Public Attributes | |
industrial::joint_traj_pt::JointTrajPt | point_ |
Class encapsulated joint trajectory point message generation methods (either to or from a SimpleMessage type.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 69 of file joint_traj_pt_message.h.
industrial::joint_traj_pt_message::JointTrajPtMessage::JointTrajPtMessage | ( | void | ) |
Default constructor.
This method creates an empty message.
Definition at line 56 of file joint_traj_pt_message.cpp.
industrial::joint_traj_pt_message::JointTrajPtMessage::~JointTrajPtMessage | ( | void | ) |
Destructor.
Definition at line 61 of file joint_traj_pt_message.cpp.
unsigned int industrial::joint_traj_pt_message::JointTrajPtMessage::byteLength | ( | ) | [inline, virtual] |
Virtual method returns the object size when packed into a ByteArray.
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 112 of file joint_traj_pt_message.h.
void industrial::joint_traj_pt_message::JointTrajPtMessage::init | ( | ) | [virtual] |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 89 of file joint_traj_pt_message.cpp.
void industrial::joint_traj_pt_message::JointTrajPtMessage::init | ( | industrial::joint_traj_pt::JointTrajPt & | point | ) |
Initializes message from a joint trajectory point structure.
joint | trajectory point data structure |
Definition at line 83 of file joint_traj_pt_message.cpp.
bool industrial::joint_traj_pt_message::JointTrajPtMessage::init | ( | industrial::simple_message::SimpleMessage & | msg | ) | [virtual] |
Initializes message from a simple message.
simple | message to construct from |
Implements industrial::typed_message::TypedMessage.
Definition at line 66 of file joint_traj_pt_message.cpp.
bool industrial::joint_traj_pt_message::JointTrajPtMessage::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Virtual method for loading an object into a ByteArray.
This method should load all the required data to reconstruct the class object into the buffer
buffer | pointer to ByteArray |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 96 of file joint_traj_pt_message.cpp.
bool industrial::joint_traj_pt_message::JointTrajPtMessage::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Virtual method for unloading an object from a ByteArray.
This method should unload all the required data to reconstruct the class object (in place)
buffer | pointer to ByteArray |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 112 of file joint_traj_pt_message.cpp.
industrial::joint_traj_pt::JointTrajPt industrial::joint_traj_pt_message::JointTrajPtMessage::point_ |
Definition at line 117 of file joint_traj_pt_message.h.