Class encapsulated motoman motion control message generation methods (either to or from a industrial::simple_message::SimpleMessage type. More...
#include <motoman_motion_ctrl_message.h>
Public Member Functions | |
unsigned int | byteLength () |
bool | init (industrial::simple_message::SimpleMessage &msg) |
Initializes message from a simple message. More... | |
void | init (motoman::simple_message::motion_ctrl::MotionCtrl &cmd) |
Initializes message from a motion control command structure. More... | |
void | init () |
Initializes a new message. More... | |
bool | load (industrial::byte_array::ByteArray *buffer) |
MotionCtrlMessage (void) | |
Default constructor. More... | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~MotionCtrlMessage (void) | |
Destructor. More... | |
Public Attributes | |
motoman::simple_message::motion_ctrl::MotionCtrl | cmd_ |
Additional Inherited Members |
Class encapsulated motoman motion control message generation methods (either to or from a industrial::simple_message::SimpleMessage type.
This message simply wraps the following data type: motoman::simple_message::motion_ctrl::MotionCtrl The data portion of this typed message matches MotionCtrl exactly.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 69 of file motoman_motion_ctrl_message.h.
motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::MotionCtrlMessage | ( | void | ) |
Default constructor.
This method creates an empty message.
Definition at line 54 of file motoman_motion_ctrl_message.cpp.
motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::~MotionCtrlMessage | ( | void | ) |
Destructor.
Definition at line 59 of file motoman_motion_ctrl_message.cpp.
|
inlinevirtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 111 of file motoman_motion_ctrl_message.h.
|
virtual |
Initializes message from a simple message.
simple | message to construct from |
Implements industrial::typed_message::TypedMessage.
Definition at line 63 of file motoman_motion_ctrl_message.cpp.
void motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::init | ( | motoman::simple_message::motion_ctrl::MotionCtrl & | cmd | ) |
Initializes message from a motion control command structure.
cmd | motion control command data structure |
Definition at line 77 of file motoman_motion_ctrl_message.cpp.
|
virtual |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 83 of file motoman_motion_ctrl_message.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 89 of file motoman_motion_ctrl_message.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 101 of file motoman_motion_ctrl_message.cpp.
motoman::simple_message::motion_ctrl::MotionCtrl motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::cmd_ |
Definition at line 116 of file motoman_motion_ctrl_message.h.