Class GetCanIdResponse

Inheritance Relationships

Base Type

Class Documentation

class GetCanIdResponse : public myactuator_rmd::SingleMotorResponse<CommandType::CAN_ID_SETTING>

Request for getting the CAN ID of the actuator.

Public Functions

GetCanIdResponse() = delete
GetCanIdResponse(GetCanIdResponse const&) = default
GetCanIdResponse &operator=(GetCanIdResponse const&) = default
GetCanIdResponse(GetCanIdResponse&&) = default
GetCanIdResponse &operator=(GetCanIdResponse&&) = default
virtual std::uint16_t getCanId() const noexcept

Get the CAN ID of the actuator.

Returns:

The CAN ID of the actuator starting at 0x240

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