All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SignalStatsPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef _IGNITION_SIGNAL_STATS_PRIVATE_HH_
18 #define _IGNITION_SIGNAL_STATS_PRIVATE_HH_
19 
20 #include <memory>
21 #include <vector>
22 
23 namespace ignition
24 {
25  namespace math
26  {
29  {
31  public: double data;
32 
35  public: double extraData;
36 
38  public: unsigned int count;
39  };
40 
41  class SignalStatistic;
42 
45  typedef std::shared_ptr<SignalStatistic> SignalStatisticPtr;
46 
49  typedef std::vector<SignalStatisticPtr> SignalStatistic_V;
50 
53  {
56  };
57  }
58 }
59 #endif
60 
double data
Scalar representation of signal data.
Definition: SignalStatsPrivate.hh:31
double extraData
Scalar representation of extra signal data.
Definition: SignalStatsPrivate.hh:35
Statistical properties of a discrete time scalar signal.
Definition: SignalStats.hh:33
Private data class for the SignalStats class.
Definition: SignalStatsPrivate.hh:52
Private data class for the SignalStatistic class.
Definition: SignalStatsPrivate.hh:28
SignalStatistic_V stats
Vector of SignalStatistics.
Definition: SignalStatsPrivate.hh:55
std::shared_ptr< SignalStatistic > SignalStatisticPtr
Definition: SignalStatsPrivate.hh:45
std::vector< SignalStatisticPtr > SignalStatistic_V
Definition: SignalStatsPrivate.hh:49
unsigned int count
Count of data values in mean.
Definition: SignalStatsPrivate.hh:38