42 namespace io_control_reply
79 LOG_COMM(
"Executing SetIOReply load");
81 if (!buffer->
load(this->result_code_))
83 LOG_ERROR(
"Failed to load SetIOReply result_code");
87 LOG_COMM(
"SetIOReply data successfully loaded");
93 LOG_COMM(
"Executing SetIOReply unload");
95 if (!buffer->
unload(this->result_code_))
97 LOG_ERROR(
"Failed to unload SetIOReply result_code");
101 LOG_COMM(
"SetIOReply data successfully unloaded");
~SetIOReply(void)
Destructor.
Enumeration of set IO reply result codes.
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
#define LOG_ERROR(format,...)
industrial::shared_types::shared_int getResultCode() const
Returns the result code.
void init()
Initializes a empty motion control reply.
void setResultCode(industrial::shared_types::shared_int result_code)
Sets the result code.
void copyFrom(SetIOReply &src)
Copies the passed in value.
bool unload(industrial::byte_array::ByteArray *buffer)
bool load(industrial::byte_array::ByteArray *buffer)
SetIOReply(void)
Default constructor.
Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response ...
industrial::shared_types::shared_int result_code_
The result code.
bool unload(industrial::shared_types::shared_bool &value)
bool operator==(SetIOReply &rhs)
== operator implementation