Classes | Namespaces | Typedefs
topic_status_param.hpp File Reference

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>
Include dependency graph for topic_status_param.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Definitions of parameters for a TopicStatus diagnostic task.

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file topic_status_param.hpp.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04