Class GetControlModeResponse

Inheritance Relationships

Base Type

Class Documentation

class GetControlModeResponse : public myactuator_rmd::SingleMotorResponse<CommandType::READ_SYSTEM_OPERATING_MODE>

Get the current control mode the actuator is operating in.

Public Functions

GetControlModeResponse() = delete
GetControlModeResponse(GetControlModeResponse const&) = default
GetControlModeResponse &operator=(GetControlModeResponse const&) = default
GetControlModeResponse(GetControlModeResponse&&) = default
GetControlModeResponse &operator=(GetControlModeResponse&&) = default
constexpr ControlMode getMode() const noexcept

Get the current control mode.

Returns:

The current control mode

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