Flair
Framework Libre Air
ButterworthLowPass.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
13 #ifndef BUTTERWORTHLOWPASS_H
14 #define BUTTERWORTHLOWPASS_H
15 
16 #include <IODevice.h>
17 
18 namespace flair {
19 namespace core {
20 class cvmatrix;
21 }
22 namespace gui {
23 class LayoutPosition;
24 }
25 }
26 
27 class ButterworthLowPass_impl;
28 
29 namespace flair {
30 namespace filter {
36 public:
53  ButterworthLowPass(const IODevice *parent,
54  const gui::LayoutPosition *position, std::string name,
55  uint32_t order,uint32_t nbRow=1,uint32_t nbCol=1);
56 
72  ButterworthLowPass(const gui::LayoutPosition *position, std::string name,
73  uint32_t order,uint32_t nbRow,uint32_t nbCol);
74 
80 
86  float Output(void) const;
87 
93  core::cvmatrix *Matrix(void) const;
94 
102  void UpdateFrom(const core::io_data *data);
103 
104 private:
105  class ButterworthLowPass_impl *pimpl_;
106 };
107 } // end namespace filter
108 } // end namespace flair
109 #endif // BUTTERWORTHLOWPASS_H
Abstract class for data types.
Definition: io_data.h:94
Abstract class for input/ouput system.
Definition: IODevice.h:45
namespace of the flair Framework
Definition: Ahrs.h:19
Class defining a matrix of kind CvMat.
Definition: cvmatrix.h:33
ButterworthLowPass(const IODevice *parent, const gui::LayoutPosition *position, std::string name, uint32_t order, uint32_t nbRow=1, uint32_t nbCol=1)
Constructor.
Abstract class for input/ouput system.
IODevice(const Object *parent, std::string name)
Constructor.
float Output(void) const
Output value.
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
void UpdateFrom(const core::io_data *data)
Update using provided datas.
core::cvmatrix * Matrix(void) const
Output matrix.
Class defining a Butterworth low pass filter.
Definition: ButterworthLowPass.h:35