00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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