Class GetMotorModelResponse

Inheritance Relationships

Base Type

Class Documentation

class GetMotorModelResponse : public myactuator_rmd::SingleMotorResponse<CommandType::READ_MOTOR_MODEL>

Response to request for reading the motor model.

Public Functions

GetMotorModelResponse() = delete
GetMotorModelResponse(GetMotorModelResponse const&) = default
GetMotorModelResponse &operator=(GetMotorModelResponse const&) = default
GetMotorModelResponse(GetMotorModelResponse&&) = default
GetMotorModelResponse &operator=(GetMotorModelResponse&&) = default
std::string getModel() const noexcept

Get the motor model.

Returns:

The version string of the motor model

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