Last change
on this file since 390 was 15, checked in by Bayard Gildas, 8 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.2 KB
|
Line | |
---|
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}
|
---|
5 | /*!
|
---|
6 | * \file LowPassFilter_impl.h
|
---|
7 | * \brief Classe permettant le calcul d'un filtre passe bas
|
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
9 | * \date 2011/05/01
|
---|
10 | * \version 4.0
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef LOWPASSFILTER_FILTER_IMPL_H
|
---|
14 | #define LOWPASSFILTER_FILTER_IMPL_H
|
---|
15 |
|
---|
16 | #include <IODevice.h>
|
---|
17 |
|
---|
18 | namespace flair {
|
---|
19 | namespace core {
|
---|
20 | class cvmatrix;
|
---|
21 | }
|
---|
22 | namespace gui {
|
---|
23 | class LayoutPosition;
|
---|
24 | class SpinBox;
|
---|
25 | class DoubleSpinBox;
|
---|
26 | }
|
---|
27 | namespace filter {
|
---|
28 | class LowPassFilter;
|
---|
29 | }
|
---|
30 | }
|
---|
31 |
|
---|
32 | class LowPassFilter_impl {
|
---|
33 |
|
---|
34 | public:
|
---|
35 | LowPassFilter_impl(const flair::filter::LowPassFilter *self,
|
---|
36 | const flair::gui::LayoutPosition *position,
|
---|
37 | std::string name,
|
---|
38 | const flair::core::cvmatrix *init_value = NULL);
|
---|
39 | ~LowPassFilter_impl();
|
---|
40 | void UpdateFrom(const flair::core::io_data *data);
|
---|
41 | flair::core::cvmatrix *output;
|
---|
42 |
|
---|
43 | private:
|
---|
44 | flair::core::Time previous_time;
|
---|
45 | bool first_update;
|
---|
46 | flair::core::cvmatrix *prev_value;
|
---|
47 | flair::gui::DoubleSpinBox *freq, *T;
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif // LOWPASSFILTER_FILTER_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.