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

DC_DeltaProfile.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_DeltaProfile.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_DeltaProfileH 00015 #define DC_DeltaProfileH 00016 00017 #include "../GeneralInclude/ForwardDeclarations.h" 00018 #include "../GeneralInclude/BasicTypes.h" 00019 #include "MonitoringProfile.h" 00020 00034 class DC_DeltaProfile: public MonitoringProfile { 00035 00036 private: 00037 TD_Float deltaThreshold; 00038 TD_Float previousValue; 00039 bool notFirst; 00040 00041 protected: 00042 00051 virtual bool doProfileCheck(TD_Integer value); 00052 00073 virtual bool doProfileCheck(TD_Float value); 00074 00075 public: 00076 00083 DC_DeltaProfile(void); 00084 00090 void setDeltaThreshold(TD_Float deltaThreshold); 00091 00097 TD_Float getDeltaThreshold(void); 00098 00104 virtual bool isObjectConfigured(void); 00105 00112 virtual void reset(void); 00113 00114 }; 00115 00116 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved