1 #ifndef DTHVAbstractCheck_H 2 #define DTHVAbstractCheck_H 58 float valueA,
float valueC,
float valueS,
59 const std::map<int,timedMeasurement>& snapshotValues,
60 const std::map<int,int>& aliasMap,
61 const std::map<int,int>& layerMap ) = 0;
64 float valueA,
float valueC,
float valueS,
65 const std::map<int,timedMeasurement>& snapshotValues,
66 const std::map<int,int>& aliasMap,
67 const std::map<int,int>& layerMap );
70 int flagA,
int flagC,
int flagS,
71 const std::map<int,timedMeasurement>& snapshotValues,
72 const std::map<int,int>& aliasMap,
73 const std::map<int,int>& layerMap );
84 #endif // DTHVAbstractCheck_H
static bool chkFlag(const DTHVAbstractCheck::flag &f)
virtual void setStatus(int rawId, int flagA, int flagC, int flagS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap)
virtual DTHVAbstractCheck::flag checkCurrentStatus(int rawId, int type, float valueA, float valueC, float valueS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap)=0
static bool compare(const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr)
std::pair< long long int, float > timedMeasurement
check HV status
virtual ~DTHVAbstractCheck()
static DTHVAbstractCheck * getInstance()
check HV status
static DTHVAbstractCheck * instance
virtual void setValue(int rawId, int type, float valueA, float valueC, float valueS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap)