Class GetSystemRuntimeResponse
Defined in File responses.hpp
Inheritance Relationships
Base Type
public myactuator_rmd::SingleMotorResponse< CommandType::READ_SYSTEM_RUNTIME >
(Template Class SingleMotorResponse)
Class Documentation
-
class GetSystemRuntimeResponse : public myactuator_rmd::SingleMotorResponse<CommandType::READ_SYSTEM_RUNTIME>
Response to request for getting the actuator’s runtime.
Public Functions
-
GetSystemRuntimeResponse() = delete
-
GetSystemRuntimeResponse(GetSystemRuntimeResponse const&) = default
-
GetSystemRuntimeResponse &operator=(GetSystemRuntimeResponse const&) = default
-
GetSystemRuntimeResponse(GetSystemRuntimeResponse&&) = default
-
GetSystemRuntimeResponse &operator=(GetSystemRuntimeResponse&&) = default
-
std::chrono::milliseconds getRuntime() const noexcept
Get the actuator’s runtime in milliseconds.
- Returns:
The actuators runtime in milliseconds
-
constexpr SingleMotorResponse(std::array<std::uint8_t, 8> const &data)
-
constexpr SingleMotorResponse() = delete
-
SingleMotorResponse(SingleMotorResponse const&) = default
-
SingleMotorResponse(SingleMotorResponse&&) = default
-
GetSystemRuntimeResponse() = delete