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();
64 protected: SignalStatisticPrivate *
dataPtr;
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);
120 class SignalStatsPrivate;
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();
Computing the mean value of a discretely sampled signal.
Definition: SignalStats.hh:70
Forward declarations for the common classes.
Definition: Animation.hh:33
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
SignalStatsPrivate * dataPtr
Pointer to private data.
Definition: SignalStats.hh:173
Computing the maximum of the absolute value of a discretely sampled signal.
Definition: SignalStats.hh:105
Statistical properties of a discrete time scalar signal.
Definition: SignalStats.hh:36
SignalStatisticPrivate * dataPtr
Pointer to private data.
Definition: SignalStats.hh:64