Go to the documentation of this file.
16 struct SimpleDurationStatusParam;
Helper struct for easy brace-initialization of DurationStatusParam objects. On supported compilers,...
::ros::Duration minDuration
Minimum duration considered as valid.
::cras::DurationStatusParam & operator=(const ::cras::DurationStatusParam &other)
Copy assignment operator.
DurationStatusParam(const ::ros::Duration &minDuration={0, 0}, const ::ros::Duration &maxDuration=::ros::DURATION_MAX, double tolerance=0.1, size_t windowSize=5, bool noEventsIsOk=true)
Construct the parameter object using the passed values.
::ros::Duration maxDuration
Maximum duration considered as valid.
size_t windowSize
Number of updates during which the duration is computed.
Parameters of DurationStatus diagnostic task.
double tolerance
Tolerance of the duration.
decltype(::cras::DurationStatusParam::minDuration) minDuration
Minimum duration considered as valid.
bool noEventsIsOk
Whether it is okay when there are no events between two update calls.
decltype(::cras::DurationStatusParam::minDuration) maxDuration
Maximum duration considered as valid.
decltype(::cras::DurationStatusParam::noEventsIsOk) noEventsIsOk
Whether it is okay when there are no events between two update calls.
decltype(::cras::DurationStatusParam::windowSize) windowSize
Number of updates during which the duration is computed.
decltype(::cras::DurationStatusParam::tolerance) tolerance
Tolerance of the duration.
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 5 2024 03:50:30