Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response to SetIO messages. More...
#include <set_io_reply.h>
Public Member Functions | |
unsigned int | byteLength () |
void | copyFrom (SetIOReply &src) |
Copies the passed in value. More... | |
industrial::shared_types::shared_int | getResultCode () const |
Returns the result code. More... | |
void | init () |
Initializes a empty motion control reply. More... | |
void | init (SetIOReplyResult result_code) |
Initializes a complete read single io reply. More... | |
bool | load (industrial::byte_array::ByteArray *buffer) |
bool | operator== (SetIOReply &rhs) |
== operator implementation More... | |
SetIOReply (void) | |
Default constructor. More... | |
void | setResultCode (industrial::shared_types::shared_int result_code) |
Sets the result code. More... | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~SetIOReply (void) | |
Destructor. More... | |
Private Attributes | |
industrial::shared_types::shared_int | result_code_ |
The result code. More... | |
Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response to SetIO messages.
The byte representation of a set io reply is as follows (in order lowest index to highest). The standard sizes are given, but can change based on type sizes:
member: type size result_code (industrial::shared_types::shared_int) 4 bytes
THIS CLASS IS NOT THREAD-SAFE
Definition at line 73 of file set_io_reply.h.
fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::SetIOReply | ( | void | ) |
Default constructor.
This method creates empty data.
Definition at line 45 of file set_io_reply.cpp.
fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::~SetIOReply | ( | void | ) |
Destructor.
Definition at line 50 of file set_io_reply.cpp.
|
inlinevirtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 139 of file set_io_reply.h.
void fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::copyFrom | ( | SetIOReply & | src | ) |
Copies the passed in value.
src | (value to copy) |
Definition at line 65 of file set_io_reply.cpp.
|
inline |
void fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::init | ( | ) |
Initializes a empty motion control reply.
Definition at line 54 of file set_io_reply.cpp.
void fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::init | ( | SetIOReplyResult | result_code | ) |
Initializes a complete read single io reply.
Definition at line 60 of file set_io_reply.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 77 of file set_io_reply.cpp.
bool fsrobo_r_driver::simple_message::io_control_reply::SetIOReply::operator== | ( | SetIOReply & | rhs | ) |
|
inline |
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 91 of file set_io_reply.cpp.
|
private |
The result code.
Definition at line 148 of file set_io_reply.h.