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

RangeProfile.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // RangeProfile.h 00005 // 00006 // Version 1.1 00007 // Date 16.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 RangeProfileH 00015 #define RangeProfileH 00016 00017 #include "../GeneralInclude/ForwardDeclarations.h" 00018 #include "../GeneralInclude/BasicTypes.h" 00019 #include "MonitoringProfile.h" 00020 00037 class RangeProfile: public MonitoringProfile { 00038 00039 private: 00040 TD_Float lowerBound; 00041 TD_Float upperBound; 00042 00043 protected: 00044 00053 virtual bool doProfileCheck(TD_Integer value); 00054 00058 virtual bool doProfileCheck(TD_Float value) = 0; 00059 00060 public: 00061 00067 RangeProfile(void); 00068 00073 void setLowerBound(TD_Float lowerBound); 00074 00079 void setUpperBound(TD_Float upperBound); 00080 00085 inline TD_Float getLowerBound(void) const; 00086 00091 inline TD_Float getUpperBound(void) const; 00092 00098 virtual bool isObjectConfigured(void); 00099 00100 }; 00101 00102 #include "RangeProfile_inl.h" 00103 00104 #endif 00105 00106 00107
Copyright 2003 P&P Software GmbH - All Rights Reserved