42 namespace io_state_message
45 IOStateMessage::IOStateMessage(
void)
50 IOStateMessage::~IOStateMessage(
void)
62 if (data.
unload(this->state_))
68 LOG_ERROR(
"Failed to unload I/O state data");
76 this->state_.copyFrom(state);
79 void IOStateMessage::init()
88 LOG_COMM(
"Executing I/O state message load");
89 if (buffer->
load(this->state_))
96 LOG_ERROR(
"Failed to load I/O state data");
104 LOG_COMM(
"Executing I/O state message unload");
106 if (buffer->
unload(this->state_))
113 LOG_ERROR(
"Failed to unload I/O state data");
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
#define LOG_ERROR(format,...)
Class encapsulated robot status data. The robot status data is meant to mirror the industrial_msgs/Ro...
industrial::byte_array::ByteArray & getData()
bool unload(industrial::shared_types::shared_bool &value)