Class SetTimeoutRequest

Inheritance Relationships

Base Type

Class Documentation

class SetTimeoutRequest : public myactuator_rmd::SingleMotorRequest<CommandType::COMMUNICATION_INTERRUPTION_PROTECTION_TIME_SETTING>

Request for setting the communication interruption protection time setting.

Public Functions

SetTimeoutRequest(std::chrono::milliseconds const &timeout)
SetTimeoutRequest() = delete

Class constructor.

Parameters:

timeout[in] The communication interruption protection time setting in milliseconds, 0 if this feature should be de-activated

SetTimeoutRequest(SetTimeoutRequest const&) = default
SetTimeoutRequest &operator=(SetTimeoutRequest const&) = default
SetTimeoutRequest(SetTimeoutRequest&&) = default
SetTimeoutRequest &operator=(SetTimeoutRequest&&) = default
std::chrono::milliseconds getTimeout() const noexcept

Get the communication interruption protection time to be set.

Returns:

The communication interruption protection time to be set

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