#include <DTHVAbstractCheck.h>
Classes | |
struct | flag |
Public Types | |
typedef std::pair< long long int, float > | timedMeasurement |
check HV status More... | |
Public Member Functions | |
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 |
DTHVAbstractCheck () | |
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 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) |
virtual | ~DTHVAbstractCheck () |
Static Public Member Functions | |
static bool | chkFlag (const DTHVAbstractCheck::flag &f) |
static bool | compare (const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr) |
static DTHVAbstractCheck * | getInstance () |
check HV status More... | |
Static Protected Attributes | |
static DTHVAbstractCheck * | instance = nullptr |
typedef std::pair<long long int, float> DTHVAbstractCheck::timedMeasurement |
check HV status
Definition at line 47 of file DTHVAbstractCheck.h.
DTHVAbstractCheck::DTHVAbstractCheck | ( | ) |
|
virtual |
|
pure virtual |
Implemented in cond::service::DTHVCheckWithHysteresis, and cond::service::DTHVCheckByAbsoluteValues.
Referenced by DTHVStatusHandler::checkStatusChange(), and DTHVStatusHandler::offlineList().
|
static |
Definition at line 43 of file DTHVAbstractCheck.cc.
References DTHVAbstractCheck::flag::a, DTHVAbstractCheck::flag::c, and DTHVAbstractCheck::flag::s.
|
static |
Definition at line 45 of file DTHVAbstractCheck.cc.
References DTHVAbstractCheck::flag::a, DTHVAbstractCheck::flag::c, and DTHVAbstractCheck::flag::s.
Referenced by DTHVStatusHandler::checkStatusChange().
|
static |
check HV status
Operations
Definition at line 41 of file DTHVAbstractCheck.cc.
References instance.
Referenced by DTHVStatusHandler::DTHVStatusHandler().
|
virtual |
Reimplemented in cond::service::DTHVCheckWithHysteresis.
Definition at line 60 of file DTHVAbstractCheck.cc.
Referenced by DTHVStatusHandler::getNewObjects().
|
virtual |
Definition at line 49 of file DTHVAbstractCheck.cc.
|
staticprotected |
Definition at line 80 of file DTHVAbstractCheck.h.
Referenced by cond::service::DTHVCheckByAbsoluteValues::DTHVCheckByAbsoluteValues(), cond::service::DTHVCheckWithHysteresis::DTHVCheckWithHysteresis(), getInstance(), and production_tasks.Task::getname().