INOS
cinos2ptcontroller.h
Go to the documentation of this file.
1 //******************************************************************************
27 //******************************************************************************
28 
29 #ifndef INC_CINOS2PTCONTROL_H
30 #define INC_CINOS2PTCONTROL_H
31 
32 //------------------------------------------------------------------------------
33 // defines
34 //------------------------------------------------------------------------------
35 //
36 #define DF_INOS_2PT_CONTROLLER_NAME "CINOS2PtController" // controller name
37 //
38 //------------------------------------------------------------------------------
39 // includes
40 //------------------------------------------------------------------------------
41 //
42 // system
43 #include <cinosbasecontroller.h>
44 //
45 // C++
46 //
47 // project
48 //
49 //------------------------------------------------------------------------------
50 // class definition
51 //------------------------------------------------------------------------------
52 //
54 {
55  //--- user interface ---------------------------------------------------
56 
57  // public member functions
58  public :
59 
60  // constructor/destructor
61 
62  CINOS2PtController(const char* apInpName, const char* apOutName);
63  //; constructor
64  virtual ~CINOS2PtController();
65  //; destructor
66 
67  virtual CINCOObject* GetRegister() override;
68  //; do inco registration and return pointer to it
69 
70  //--- internals --------------------------------------------------------
71 
72  friend class CINCOPidCtrPar;
73 
74  // protected member functions
75  protected:
76  ICACHE virtual void Control() override;
77  //; do a control cycle
78 
79  // protected members
80  protected:
82  real64 m_rDeltaOn;
84  real64 m_rDeltaOff;
86  bool m_bIsOn;
87 
88  // allow dynamic object handling (new/delete)
89  DECLARE_DYNAMIC_CACHE(CINOS2PtController);
90 };
91 
92 
93 //------------------------------------------------------------------------------
94 // end of file
95 //------------------------------------------------------------------------------
96 
97 #endif // INC_CINOS2PTCONTROLLER_H
CINOS2PtController::m_rDeltaOn
real64 m_rDeltaOn
delta to switch on
Definition: cinos2ptcontroller.h:82
CINOS2PtController::m_bIsOn
bool m_bIsOn
true if on
Definition: cinos2ptcontroller.h:86
CINOS2PtController
Definition: cinos2ptcontroller.h:53
CINOS2PtController::m_rDeltaOff
real64 m_rDeltaOff
delta to switch off
Definition: cinos2ptcontroller.h:84
cinosbasecontroller.h
Short comment.
CINOSBaseController
Definition: cinosbasecontroller.h:109