Public Types | Static Public Attributes | List of all members
cras::TopicStatusParams Struct Reference

Utility class with various predefined topic diagnostic parameters. More...

#include <topic_status_param.hpp>

Public Types

typedef ::cras::SimpleTopicStatusParamWithHeader HeaderParam
 The type of parameters for topics with header. More...
 
typedef ::cras::SimpleTopicStatusParamNoHeader NoHeaderParam
 The type of parameters for topics without a header. More...
 

Static Public Attributes

static constexpr NoHeaderParam _100Hz {100, 100}
 100 Hz headerless topic, rate tolerance 10%, window size 5 updates More...
 
static constexpr NoHeaderParam _10Hz {10, 10}
 10 Hz headerless topic, rate tolerance 10%, window size 5 updates More...
 
static constexpr NoHeaderParam _1Hz {1, 1}
 1 Hz headerless topic, rate tolerance 10%, window size 5 updates More...
 
static constexpr HeaderParam delayed100Hz {100, 100}
 100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs More...
 
static constexpr HeaderParam delayed10Hz {10, 10}
 10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs More...
 
static constexpr HeaderParam delayed1Hz {1, 1}
 1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs More...
 
static constexpr HeaderParam fast100Hz {100, 100, 0.1, 5, -1, 0.1}
 100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs More...
 
static constexpr HeaderParam fast10Hz {10, 10, 0.1, 5, -1, 0.1}
 10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs More...
 
static constexpr HeaderParam fast1Hz {1, 1, 0.1, 5, -1, 0.1}
 1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs More...
 

Detailed Description

Utility class with various predefined topic diagnostic parameters.

Definition at line 85 of file topic_status_param.hpp.

Member Typedef Documentation

◆ HeaderParam

The type of parameters for topics with header.

Definition at line 90 of file topic_status_param.hpp.

◆ NoHeaderParam

The type of parameters for topics without a header.

Definition at line 88 of file topic_status_param.hpp.

Member Data Documentation

◆ _100Hz

constexpr NoHeaderParam cras::TopicStatusParams::_100Hz {100, 100}
staticconstexpr

100 Hz headerless topic, rate tolerance 10%, window size 5 updates

Definition at line 107 of file topic_status_param.hpp.

◆ _10Hz

constexpr NoHeaderParam cras::TopicStatusParams::_10Hz {10, 10}
staticconstexpr

10 Hz headerless topic, rate tolerance 10%, window size 5 updates

Definition at line 100 of file topic_status_param.hpp.

◆ _1Hz

constexpr NoHeaderParam cras::TopicStatusParams::_1Hz {1, 1}
staticconstexpr

1 Hz headerless topic, rate tolerance 10%, window size 5 updates

Definition at line 93 of file topic_status_param.hpp.

◆ delayed100Hz

constexpr HeaderParam cras::TopicStatusParams::delayed100Hz {100, 100}
staticconstexpr

100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

Definition at line 109 of file topic_status_param.hpp.

◆ delayed10Hz

constexpr HeaderParam cras::TopicStatusParams::delayed10Hz {10, 10}
staticconstexpr

10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

Definition at line 102 of file topic_status_param.hpp.

◆ delayed1Hz

constexpr HeaderParam cras::TopicStatusParams::delayed1Hz {1, 1}
staticconstexpr

1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

Definition at line 95 of file topic_status_param.hpp.

◆ fast100Hz

constexpr HeaderParam cras::TopicStatusParams::fast100Hz {100, 100, 0.1, 5, -1, 0.1}
staticconstexpr

100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs

Definition at line 111 of file topic_status_param.hpp.

◆ fast10Hz

constexpr HeaderParam cras::TopicStatusParams::fast10Hz {10, 10, 0.1, 5, -1, 0.1}
staticconstexpr

10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs

Definition at line 104 of file topic_status_param.hpp.

◆ fast1Hz

constexpr HeaderParam cras::TopicStatusParams::fast1Hz {1, 1, 0.1, 5, -1, 0.1}
staticconstexpr

1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs

Definition at line 97 of file topic_status_param.hpp.


The documentation for this struct was generated from the following file:


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