Class SetCanBaudRateRequest

Inheritance Relationships

Base Type

Class Documentation

class SetCanBaudRateRequest : public myactuator_rmd::SingleMotorRequest<CommandType::COMMUNICATION_BAUD_RATE_SETTING>

Request for setting the Baud rate of the actuator.

Public Functions

SetCanBaudRateRequest(CanBaudRate const baud_rate)
SetCanBaudRateRequest(SetCanBaudRateRequest const&) = default
SetCanBaudRateRequest &operator=(SetCanBaudRateRequest const&) = default
SetCanBaudRateRequest(SetCanBaudRateRequest&&) = default
SetCanBaudRateRequest &operator=(SetCanBaudRateRequest&&) = default
CanBaudRate getBaudRate() const noexcept

Get the Baud rate that should be set to the actuator.

Returns:

The Baud rate that the actuator should be using

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