17 #ifndef _GAZEBO_SIGNAL_STATS_HH_
18 #define _GAZEBO_SIGNAL_STATS_HH_
32 class SignalStatisticPrivate;
46 public:
virtual double Value()
const = 0;
50 public:
virtual std::string ShortName()
const = 0;
54 public:
virtual size_t Count()
const;
58 public:
virtual void InsertData(
const double _data) = 0;
61 public:
virtual void Reset();
73 public:
virtual double Value()
const;
77 public:
virtual std::string ShortName()
const;
80 public:
virtual void InsertData(
const double _data);
90 public:
virtual double Value()
const;
94 public:
virtual std::string ShortName()
const;
97 public:
virtual void InsertData(
const double _data);
108 public:
virtual double Value()
const;
112 public:
virtual std::string ShortName()
const;
115 public:
virtual void InsertData(
const double _data);
137 public:
size_t Count()
const;
143 public: std::map<std::string, double> Map()
const;
147 public:
void InsertData(
const double _data);
158 public:
bool InsertStatistic(
const std::string &_name);
167 public:
bool InsertStatistics(
const std::string &_names);
170 public:
void Reset();
SignalStatsPrivate * dataPtr
Pointer to private data.
Definition: SignalStats.hh:173
Computing the mean value of a discretely sampled signal.
Definition: SignalStats.hh:70
Collection of statistics for a scalar signal.
Definition: SignalStats.hh:124
Computing the square root of the mean squared value of a discretely sampled signal.
Definition: SignalStats.hh:87
Private data class for the SignalStatistic class.
Definition: SignalStatsPrivate.hh:28
Computing the maximum of the absolute value of a discretely sampled signal.
Definition: SignalStats.hh:105
#define GZ_MATH_VISIBLE
Definition: system.hh:134
Statistical properties of a discrete time scalar signal.
Definition: SignalStats.hh:36
Private data class for the SignalStats class.
Definition: SignalStatsPrivate.hh:48
SignalStatisticPrivate * dataPtr
Pointer to private data.
Definition: SignalStats.hh:64