Class encapsulated motoman write single io message generation methods (either to or from a industrial::simple_message::SimpleMessage type. More...
#include <motoman_write_single_io_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::io_ctrl::WriteSingleIO &cmd) |
Initializes message from a read single io structure. | |
void | init () |
Initializes a new message. | |
bool | load (industrial::byte_array::ByteArray *buffer) |
bool | unload (industrial::byte_array::ByteArray *buffer) |
WriteSingleIOMessage (void) | |
Default constructor. | |
~WriteSingleIOMessage (void) | |
Destructor. | |
Public Attributes | |
motoman::simple_message::io_ctrl::WriteSingleIO | cmd_ |
Class encapsulated motoman write single io message generation methods (either to or from a industrial::simple_message::SimpleMessage type.
This message simply wraps the following data type: motoman::simple_message::io_ctrl::WriteSingleIO The data portion of this typed message matches WriteSingleIO exactly.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 71 of file motoman_write_single_io_message.h.
Default constructor.
This method creates an empty message.
Definition at line 56 of file motoman_write_single_io_message.cpp.
Destructor.
Definition at line 61 of file motoman_write_single_io_message.cpp.
unsigned int motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::byteLength | ( | ) | [inline, virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 113 of file motoman_write_single_io_message.h.
bool motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::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 65 of file motoman_write_single_io_message.cpp.
void motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::init | ( | motoman::simple_message::io_ctrl::WriteSingleIO & | cmd | ) |
Initializes message from a read single io structure.
cmd | read single io data structure |
Definition at line 79 of file motoman_write_single_io_message.cpp.
void motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::init | ( | ) | [virtual] |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 85 of file motoman_write_single_io_message.cpp.
bool motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 91 of file motoman_write_single_io_message.cpp.
bool motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 103 of file motoman_write_single_io_message.cpp.
motoman::simple_message::io_ctrl::WriteSingleIO motoman::simple_message::io_ctrl_message::WriteSingleIOMessage::cmd_ |
Definition at line 118 of file motoman_write_single_io_message.h.