Helper struct for easy brace-initialization of TopicStatusParam objects. On supported compilers, you can also use designated braced initialization, i.e. param = {.maxRate = 10}
. Supported is e.g. GCC 8+ in any mode or any compiler in C++20 mode.
More...
#include <topic_status_param.hpp>
Public Types | |
typedef ::std::remove_pointer_t< decltype(::diagnostic_updater::FrequencyStatusParam::max_freq_)> | RateType |
Public Attributes | |
RateType | maxRate {::std::numeric_limits<RateType>::infinity()} |
Maximum allowed frequency. More... | |
RateType | minRate {0} |
Minimum allowed frequency. More... | |
decltype(::diagnostic_updater::FrequencyStatusParam::tolerance_) | rateTolerance {0.1} |
Tolerance of the rate. More... | |
decltype(::diagnostic_updater::FrequencyStatusParam::window_size_) | rateWindowSize {5} |
Number of updates during which the frequency is computed. More... | |
Helper struct for easy brace-initialization of TopicStatusParam objects. On supported compilers, you can also use designated braced initialization, i.e. param = {.maxRate = 10}
. Supported is e.g. GCC 8+ in any mode or any compiler in C++20 mode.
Definition at line 26 of file topic_status_param.hpp.
typedef ::std::remove_pointer_t<decltype(::diagnostic_updater::FrequencyStatusParam::max_freq_)> cras::SimpleTopicStatusParamNoHeader::RateType |
Definition at line 28 of file topic_status_param.hpp.
RateType cras::SimpleTopicStatusParamNoHeader::maxRate {::std::numeric_limits<RateType>::infinity()} |
Maximum allowed frequency.
Definition at line 34 of file topic_status_param.hpp.
RateType cras::SimpleTopicStatusParamNoHeader::minRate {0} |
Minimum allowed frequency.
Definition at line 31 of file topic_status_param.hpp.
decltype(::diagnostic_updater::FrequencyStatusParam::tolerance_) cras::SimpleTopicStatusParamNoHeader::rateTolerance {0.1} |
Tolerance of the rate.
Definition at line 37 of file topic_status_param.hpp.
decltype(::diagnostic_updater::FrequencyStatusParam::window_size_) cras::SimpleTopicStatusParamNoHeader::rateWindowSize {5} |
Number of updates during which the frequency is computed.
Definition at line 40 of file topic_status_param.hpp.