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:
51  ButterworthLowPass(const IODevice *parent,
52  const gui::LayoutPosition *position, std::string name,
53  int order);
54 
68  ButterworthLowPass(const gui::LayoutPosition *position, std::string name,
69  int order);
70 
76 
82  float Output(void) const;
83 
89  core::cvmatrix *Matrix(void) const;
90 
98  void UpdateFrom(const core::io_data *data);
99 
100 private:
101  class ButterworthLowPass_impl *pimpl_;
102 };
103 } // end namespace filter
104 } // end namespace flair
105 #endif // BUTTERWORTHLOWPASS_H
Abstract class for data types.
Definition: io_data.h:77
Abstract class for input/ouput system.
Definition: IODevice.h:44
namespace of the flair Framework
Definition: Ahrs.h:19
Class defining a matrix of kind CvMat.
Definition: cvmatrix.h:33
Abstract class for input/ouput system.
IODevice(const Object *parent, std::string name)
Constructor.
ButterworthLowPass(const IODevice *parent, const gui::LayoutPosition *position, std::string name, int order)
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