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. | |
void | init (motoman::simple_message::motion_ctrl::MotionCtrl &cmd) |
Initializes message from a motion control command structure. | |
void | init () |
Initializes a new message. | |
bool | load (industrial::byte_array::ByteArray *buffer) |
MotionCtrlMessage (void) | |
Default constructor. | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~MotionCtrlMessage (void) | |
Destructor. | |
Public Attributes | |
motoman::simple_message::motion_ctrl::MotionCtrl | cmd_ |
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.
Default constructor.
This method creates an empty message.
Definition at line 54 of file motoman_motion_ctrl_message.cpp.
Destructor.
Definition at line 59 of file motoman_motion_ctrl_message.cpp.
unsigned int motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::byteLength | ( | ) | [inline, virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 111 of file motoman_motion_ctrl_message.h.
bool motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::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 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.
void motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::init | ( | ) | [virtual] |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 83 of file motoman_motion_ctrl_message.cpp.
bool motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 89 of file motoman_motion_ctrl_message.cpp.
bool motoman::simple_message::motion_ctrl_message::MotionCtrlMessage::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [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.