Class SetCanIdRequest
Defined in File requests.hpp
Inheritance Relationships
Base Type
public myactuator_rmd::CanIdRequest
(Class CanIdRequest)
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
-
SetCanIdRequest(std::uint16_t const can_id)