A combined parameter defining both rate diagnostics and delay diagnostics (for messages with a header).
More...
|
| TopicStatusParamWithHeader (double *min_freq, double *max_freq, double tolerance=0.1, int window_size=5, double min_acceptable=-1.0, double max_acceptable=5.0) |
| Construct the param object. More...
|
|
| TopicStatusParamWithHeader (double min_freq=0.0, double max_freq=::std::numeric_limits< double >::infinity(), double tolerance=0.1, int window_size=5, double min_acceptable=-1.0, double max_acceptable=5.0) |
| Construct the param object. More...
|
|
| TopicStatusParamWithHeader (const ::diagnostic_updater::FrequencyStatusParam &freqParam) |
| Construct the object from a FrequencyStatusParam using default timestamp delay values. More...
|
|
| TopicStatusParamWithHeader (const ::diagnostic_updater::TimeStampStatusParam &stampParam) |
| Construct the object from a TimeStampStatusParam using default rate values. More...
|
|
| TopicStatusParamWithHeader (const ::diagnostic_updater::FrequencyStatusParam &freqParam, const ::diagnostic_updater::TimeStampStatusParam &stampParam) |
| Construct the object from a FrequencyStatusParam and TimeStampStatusParam . More...
|
|
| TopicStatusParamWithHeader (const ::cras::SimpleTopicStatusParamWithHeader ¶ms) |
| Initialize this object from SimpleTopicStatusParam . Internal pointers for min/max rate will be used, so the params object may cease to exist. More...
|
|
| FrequencyStatusParam (double *min_freq, double *max_freq, double tolerance=0.1, int window_size=5) |
| The original constructor from diagnostic_updater::FrequencyStatusParam. More...
|
|
| FrequencyStatusParam (double min_freq=0.0, double max_freq=::std::numeric_limits< double >::infinity(), double tolerance=0.1, int window_size=5) |
| The added constructor not requiring pointers. More...
|
|
| FrequencyStatusParam (const ::cras::FrequencyStatusParam &other) |
| Copy values from another object of this type. If it uses the internal pointers, their values are copied and a new set of internal pointers is created for this object, making it independent of the other one. If the other object uses explicit pointer, this object will use pointers to the same memory. More...
|
|
| FrequencyStatusParam (const ::diagnostic_updater::FrequencyStatusParam &other) |
| Copy values from the original diagnostic_updater::FrequencyStatusParam . This object will use pointers to the same memory for min/max rate as the other one. More...
|
|
| FrequencyStatusParam (const ::cras::SimpleTopicStatusParamNoHeader ¶ms) |
| Initialize this object from SimpleTopicStatusParam . Internal pointers for min/max rate will be used, so the params object may cease to exist. More...
|
|
double | getExpectedRate () const |
| Get the expected/average rate. If min and max are the same, their value will be returned. If min rate is non-positive, the max rate is returned. Otherwise, if max rate is infinite, the min rate will be returned. If min is positive and max is finite, their arithmetic mean is returned. More...
|
|
::cras::FrequencyStatusParam & | operator= (const ::cras::FrequencyStatusParam &other) |
| Copy values from another object of this type. If it uses the internal pointers, their values are copied and a new set of internal pointers is created for this object, making it independent of the other one. If the other object uses explicit pointer, this object will use pointers to the same memory. More...
|
|
::cras::FrequencyStatusParam & | operator= (const ::diagnostic_updater::FrequencyStatusParam &other) |
| Copy values from the original diagnostic_updater::FrequencyStatusParam . This object will use pointers to the same memory for min/max rate as the other one. More...
|
|
| FrequencyStatusParam (double *min_freq, double *max_freq, double tolerance=0.1, int window_size=5) |
|
| TimeStampStatusParam (const double min_acceptable=-1, const double max_acceptable=5) |
|
A combined parameter defining both rate diagnostics and delay diagnostics (for messages with a header).
- Note
- This is a combination of
FrequencyStatusParam
and TimeStampStatusParam
.
Definition at line 210 of file topic_status_param.hpp.