Class GetMotorStatus1Response

Inheritance Relationships

Base Type

Class Documentation

class GetMotorStatus1Response : public myactuator_rmd::SingleMotorResponse<CommandType::READ_MOTOR_STATUS_1_AND_ERROR_FLAG>

Response to request for getting motor status.

Public Functions

GetMotorStatus1Response() = delete
GetMotorStatus1Response(GetMotorStatus1Response const&) = default
GetMotorStatus1Response &operator=(GetMotorStatus1Response const&) = default
GetMotorStatus1Response(GetMotorStatus1Response&&) = default
GetMotorStatus1Response &operator=(GetMotorStatus1Response&&) = default
MotorStatus1 getStatus() const noexcept

Get the motor status.

Returns:

Motor status of the actuator

constexpr SingleMotorResponse(std::array<std::uint8_t, 8> const &data)
constexpr SingleMotorResponse() = delete
SingleMotorResponse(SingleMotorResponse const&) = default
SingleMotorResponse(SingleMotorResponse&&) = default