34 #ifndef MOTOMAN_DRIVER_SIMPLE_MESSAGE_MOTOMAN_READ_SINGLE_IO_REPLY_H 35 #define MOTOMAN_DRIVER_SIMPLE_MESSAGE_MOTOMAN_READ_SINGLE_IO_REPLY_H 52 namespace simple_message
54 namespace io_ctrl_reply
118 ReadSingleIOReplyResultCode result_code);
127 this->value_ =
value;
147 this->result_code_ = result_code;
157 return this->result_code_;
168 return getResultString(this->result_code_);
209 #endif // MOTOMAN_DRIVER_SIMPLE_MESSAGE_MOTOMAN_READ_SINGLE_IO_REPLY_H
industrial::shared_types::shared_int getResultCode() const
Returns the result code.
industrial::shared_types::shared_int getValue() const
Returns the value.
unsigned int byteLength()
industrial::shared_types::shared_int result_code_
The result code.
Class encapsulated read single io reply data. These messages are sent by the FS100 controller in resp...
industrial::shared_types::shared_int value_
The value.
Enumeration of Read Single IO reply result codes.
std::string getResultString() const
ReadSingleIOReplyResultCode
void setValue(industrial::shared_types::shared_int value)
Sets value.
bool operator==(const Rotation &a, const Rotation &b)
void setResultCode(industrial::shared_types::shared_int result_code)
Sets the result code.