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