Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

MonitoringProfile.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // MonitoringProfile.h 00005 // 00006 // Version 1.0 00007 // Date 30.09.03 00008 // Author A. Pasetti, R. Totaro 00009 // 00010 // Change Record: 00011 00012 #ifndef MonitoringProfileH 00013 #define MonitoringProfileH 00014 00015 #include "../GeneralInclude/ForwardDeclarations.h" 00016 #include "../GeneralInclude/BasicTypes.h" 00017 #include "../Base/CC_RootObject.h" 00018 00067 class MonitoringProfile: public CC_RootObject { 00068 private: 00069 bool enableStatus; 00070 MonitoringProfile* pNext; 00071 00072 protected: 00085 virtual bool doProfileCheck(TD_Float value) = 0; 00086 00092 virtual bool doProfileCheck(TD_Integer value) = 0; 00093 00094 public: 00100 MonitoringProfile(void); 00101 00140 bool deviatesFromProfile(TD_Float value); 00141 00147 bool deviatesFromProfile(TD_Integer value); 00148 00156 inline void setEnabled(bool enableStatus); 00157 00162 inline bool isEnabled(void); 00163 00169 void setNextMonitoringProfile(MonitoringProfile* pNextMonitoringProfile); 00170 00177 MonitoringProfile* getNextMonitoringProfile(); 00178 00190 virtual void reset(void); 00191 }; 00192 00193 #include "MonitoringProfile_inl.h" 00194 00195 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved