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();
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();
77 //; do a control cycle
78
79 // protected members
80 protected:
82 real64 m_rDeltaOn;
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
Short comment.
Definition cinos2ptcontroller.h:54
bool m_bIsOn
true if on
Definition cinos2ptcontroller.h:86
real64 m_rDeltaOn
delta to switch on
Definition cinos2ptcontroller.h:82
real64 m_rDeltaOff
delta to switch off
Definition cinos2ptcontroller.h:84
Definition cinosbasecontroller.h:110