Class SetCanIdRequest

Inheritance Relationships

Base Type

Class Documentation

class SetCanIdRequest : public myactuator_rmd::CanIdRequest

Request for setting the CAN ID of the actuator.

Public Functions

SetCanIdRequest(std::uint16_t const can_id)
SetCanIdRequest(SetCanIdRequest const&) = default
SetCanIdRequest &operator=(SetCanIdRequest const&) = default
SetCanIdRequest(SetCanIdRequest&&) = default
SetCanIdRequest &operator=(SetCanIdRequest&&) = default
std::uint16_t getCanId() const noexcept

Get the CAN ID of the actuator.

Returns:

The CAN ID of the actuator [1, 32]

CanIdRequest() = default
CanIdRequest(CanIdRequest const&) = default
CanIdRequest(CanIdRequest&&) = default