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. More... | |
void | init (motoman::simple_message::io_ctrl::ReadSingleIO &cmd) |
Initializes message from a read single io structure. More... | |
void | init () |
Initializes a new message. More... | |
bool | load (industrial::byte_array::ByteArray *buffer) |
ReadSingleIOMessage (void) | |
Default constructor. More... | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~ReadSingleIOMessage (void) | |
Destructor. More... | |
Public Attributes | |
motoman::simple_message::io_ctrl::ReadSingleIO | cmd_ |
Additional Inherited Members |
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.
motoman::simple_message::io_ctrl_message::ReadSingleIOMessage::ReadSingleIOMessage | ( | void | ) |
Default constructor.
This method creates an empty message.
Definition at line 56 of file motoman_read_single_io_message.cpp.
motoman::simple_message::io_ctrl_message::ReadSingleIOMessage::~ReadSingleIOMessage | ( | void | ) |
Destructor.
Definition at line 61 of file motoman_read_single_io_message.cpp.
|
inlinevirtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 113 of file motoman_read_single_io_message.h.
|
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.
|
virtual |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 85 of file motoman_read_single_io_message.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 91 of file motoman_read_single_io_message.cpp.
|
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.