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