41 namespace execute_program_message
58 if (!data.
unload(this->cmd_))
60 LOG_ERROR(
"Failed to unload ExecuteProgram data");
81 LOG_COMM(
"Executing ExecuteProgram message load");
82 if (!buffer->
load(this->cmd_))
84 LOG_ERROR(
"Failed to load ExecuteProgram message");
93 LOG_COMM(
"Executing ExecuteProgram message unload");
95 if (!buffer->
unload(this->cmd_))
97 LOG_ERROR(
"Failed to unload ExecuteProgram message");
void init()
Initializes a empty execute program command.
void setMessageType(int message_type=industrial::simple_message::StandardMsgTypes::INVALID)
bool unload(industrial::byte_array::ByteArray *buffer)
void copyFrom(ExecuteProgram &src)
Copies the passed in value.
ExecuteProgramMessage(void)
Default constructor.
fsrobo_r_driver::simple_message::execute_program::ExecuteProgram cmd_
#define LOG_COMM(format,...)
bool load(industrial::byte_array::ByteArray *buffer)
bool load(industrial::shared_types::shared_bool value)
#define LOG_ERROR(format,...)
void init()
Initializes a new message.
~ExecuteProgramMessage(void)
Destructor.
industrial::byte_array::ByteArray & getData()
bool unload(industrial::shared_types::shared_bool &value)
Class encapsulated write single io data. FSRobo-R specific interface to set IO element on the control...