source: flair-src/trunk/lib/FlairFilter/src/unexported/NestedSat_impl.h @ 15

Last change on this file since 15 was 15, checked in by Bayard Gildas, 5 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 NestedSat.h
7 * \brief Classe permettant le calcul d'un Pid avec saturations
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2013/04/15
10 * \version 4.0
11 */
12
13#ifndef NESTEDSAT_IMPL_H
14#define NESTEDSAT_IMPL_H
15
16#include <Object.h>
17
18namespace flair {
19namespace core {
20class cvmatrix;
21class io_data;
22}
23namespace gui {
24class Layout;
25class LayoutPosition;
26class DoubleSpinBox;
27class DataPlot1D;
28}
29namespace filter {
30class NestedSat;
31}
32}
33
34/*! \class NestedSat
35* \brief Classe permettant le calcul d'un Pid avec saturations
36*/
37class NestedSat_impl {
38public:
39  NestedSat_impl(flair::filter::NestedSat *self,
40                 const flair::gui::LayoutPosition *position, std::string name);
41  ~NestedSat_impl();
42  float Value(void);
43  void UseDefaultPlot(const flair::gui::Layout *layout, int row, int col);
44  void UpdateFrom(const flair::core::io_data *data);
45  void ConvertSatFromDegToRad(void);
46  float k;
47
48private:
49  flair::filter::NestedSat *self;
50  flair::gui::DoubleSpinBox *kp, *kd, *sat, *dsat, *usat;
51  flair::gui::DataPlot1D *plot;
52  float Sat(float value, float borne);
53};
54
55#endif // NESTEDSAT_IMPL_H
Note: See TracBrowser for help on using the repository browser.