Helper struct for easy brace-initialization of DurationStatusParam objects. On supported compilers, you can also use designated braced initialization, i.e. param = {.maxDuration = {10,0}}
. Supported is e.g. GCC 8+ in any mode or any compiler in C++20 mode.
More...
#include <duration_status_param.h>
Public Attributes | |
decltype(::cras::DurationStatusParam::minDuration) | maxDuration {::ros::DURATION_MAX} |
Maximum duration considered as valid. More... | |
decltype(::cras::DurationStatusParam::minDuration) | minDuration {0, 0} |
Minimum duration considered as valid. More... | |
decltype(::cras::DurationStatusParam::noEventsIsOk) | noEventsIsOk {true} |
Whether it is okay when there are no events between two update calls. More... | |
decltype(::cras::DurationStatusParam::tolerance) | tolerance {0.1} |
Tolerance of the duration. More... | |
decltype(::cras::DurationStatusParam::windowSize) | windowSize {5u} |
Number of updates during which the duration is computed. More... | |
Helper struct for easy brace-initialization of DurationStatusParam objects. On supported compilers, you can also use designated braced initialization, i.e. param = {.maxDuration = {10,0}}
. Supported is e.g. GCC 8+ in any mode or any compiler in C++20 mode.
Definition at line 74 of file duration_status_param.h.
decltype(::cras::DurationStatusParam::minDuration) cras::SimpleDurationStatusParam::maxDuration {::ros::DURATION_MAX} |
Maximum duration considered as valid.
Definition at line 80 of file duration_status_param.h.
decltype(::cras::DurationStatusParam::minDuration) cras::SimpleDurationStatusParam::minDuration {0, 0} |
Minimum duration considered as valid.
Definition at line 77 of file duration_status_param.h.
decltype(::cras::DurationStatusParam::noEventsIsOk) cras::SimpleDurationStatusParam::noEventsIsOk {true} |
Whether it is okay when there are no events between two update calls.
Definition at line 89 of file duration_status_param.h.
decltype(::cras::DurationStatusParam::tolerance) cras::SimpleDurationStatusParam::tolerance {0.1} |
Tolerance of the duration.
Definition at line 83 of file duration_status_param.h.
decltype(::cras::DurationStatusParam::windowSize) cras::SimpleDurationStatusParam::windowSize {5u} |
Number of updates during which the duration is computed.
Definition at line 86 of file duration_status_param.h.