80 LOG_COMM(
"Executing SysStatReply load");
82 if (!buffer->
load(this->result_))
84 LOG_ERROR(
"Failed to load SysStatReply result_code");
88 LOG_COMM(
"SysStatReply data successfully loaded");
94 LOG_COMM(
"Executing SysSstatReply unload");
96 if (!buffer->
unload(this->result_))
98 LOG_ERROR(
"Failed to unload SysStatReply result_code");
102 LOG_COMM(
"SysStatReply data successfully unloaded");
bool load(industrial::byte_array::ByteArray *buffer)
industrial::shared_types::shared_int stat_type_
The stat type.
industrial::shared_types::shared_int getResult() const
Returns the result data.
void copyFrom(SysStatReply &src)
Copies the passed in value.
bool operator==(SysStatReply &rhs)
== operator implementation
void setStatType(SysStatReplyType stat_type)
Sets the result type.
~SysStatReply(void)
Destructor.
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
#define LOG_ERROR(format,...)
bool unload(industrial::byte_array::ByteArray *buffer)
void init()
Initializes a empty motion control reply.
void setResult(industrial::shared_types::shared_int result)
Sets the result data.
SysStatReply(void)
Default constructor.
bool unload(industrial::shared_types::shared_bool &value)
Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response ...
SysStatReplyType getStatType() const
Returns the stat type.
industrial::shared_types::shared_int result_
The result value.