Definitions of parameters for a TopicStatus diagnostic task. More...
#include <limits>
#include <type_traits>
#include <diagnostic_updater/update_functions.h>
#include <ros/message_traits.h>
Go to the source code of this file.
Classes | |
class | cras::FrequencyStatusParam |
An extension of diagnostic_updater::FrequencyStatusParam that allows passing non-pointer min/max frequency values. If the internal pointers are used, they are correctly handled when copying this object (the new copy will have its own copy of the internal pointers). More... | |
struct | cras::SimpleTopicStatusParamNoHeader |
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... | |
struct | cras::SimpleTopicStatusParamWithHeader |
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... | |
struct | cras::TopicStatusParams |
Utility class with various predefined topic diagnostic parameters. More... | |
class | cras::TopicStatusParamWithHeader |
A combined parameter defining both rate diagnostics and delay diagnostics (for messages with a header). More... | |
Namespaces | |
cras | |
Typedefs | |
template<typename Message > | |
using | cras::SimpleTopicStatusParam = ::std::conditional_t<::ros::message_traits::HasHeader< Message >::value, ::cras::SimpleTopicStatusParamWithHeader, ::cras::SimpleTopicStatusParamNoHeader > |
Helper struct for easy brace-initialization of TopicStatusParam objects. More... | |
template<typename Message > | |
using | cras::TopicStatusParam = ::std::conditional_t<::ros::message_traits::HasHeader< Message >::value, ::cras::TopicStatusParamWithHeader, ::cras::FrequencyStatusParam > |
Helper struct for automatic choosing of the correct topic status parameter object based on whether the message type has a header or not. More... | |
Definitions of parameters for a TopicStatus diagnostic task.
Definition in file topic_status_param.hpp.