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

DC_StuckDataProfile.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_StuckDataProfile.h 00005 // 00006 // Version 1.1 00007 // Date 07.01.03 (Version 1.0) 00008 // 01.10.03 (Version 1.1) 00009 // Author A. Pasetti (P&P Software), R. Totaro 00010 // 00011 // Change Record: 00012 // Version 1.1: replaced double and int with TD_Float and TD_Integer 00013 00014 #ifndef DC_StuckDataProfileH 00015 #define DC_StuckDataProfileH 00016 00017 #include "../GeneralInclude/ForwardDeclarations.h" 00018 #include "../GeneralInclude/BasicTypes.h" 00019 #include "MonitoringProfile.h" 00020 00041 class DC_StuckDataProfile: public MonitoringProfile { 00042 00043 private: 00044 unsigned int stuckThreshold; 00045 unsigned int counter; 00046 TD_Integer previousValue; 00047 00048 protected: 00049 00078 virtual bool doProfileCheck(TD_Integer value); 00079 00089 virtual bool doProfileCheck(TD_Float value); 00090 00091 public: 00092 00099 DC_StuckDataProfile(void); 00100 00106 void setStuckThreshold(unsigned int stuckThreshold); 00107 00113 unsigned int getStuckThreshold(void) const; 00114 00120 virtual bool isObjectConfigured(void); 00121 00129 virtual void reset(void); 00130 00131 }; 00132 00133 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved