SignalStatsPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2016 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 _GAZEBO_SIGNAL_STATS_PRIVATE_HH_
18 #define _GAZEBO_SIGNAL_STATS_PRIVATE_HH_
19 
20 #include <vector>
21 #include <boost/shared_ptr.hpp>
22 
23 namespace gazebo
24 {
25  namespace math
26  {
29  {
31  public: double data;
32 
34  public: unsigned int count;
35  };
36 
37  class SignalStatistic;
38 
41  typedef boost::shared_ptr<SignalStatistic> SignalStatisticPtr;
42 
45  typedef std::vector<SignalStatisticPtr> SignalStatistic_V;
46 
49  {
52  };
53  }
54 }
55 #endif
56 
std::vector< SignalStatisticPtr > SignalStatistic_V
Definition: SignalStatsPrivate.hh:45
Private data class for the SignalStatistic class.
Definition: SignalStatsPrivate.hh:28
double data
Scalar representation of signal data.
Definition: SignalStatsPrivate.hh:31
unsigned int count
Count of data values in mean.
Definition: SignalStatsPrivate.hh:34
Statistical properties of a discrete time scalar signal.
Definition: SignalStats.hh:36
Private data class for the SignalStats class.
Definition: SignalStatsPrivate.hh:48
SignalStatistic_V stats
Vector of SignalStatistics.
Definition: SignalStatsPrivate.hh:51
boost::shared_ptr< SignalStatistic > SignalStatisticPtr
Definition: SignalStatsPrivate.hh:41