#include <statusCodes.h>
Public Member Functions | |
| CAFEGlobalAlarmCondition () | |
| ~CAFEGlobalAlarmCondition () | |
| std::string | asString (int i) |
| int | asInt (std::string message) |
| void | getStates (std::vector< int > &vecI, std::vector< std::string > &vecS) |
| void | printAll () |
Private Types | |
| typedef std::map< int, std::string > | mapIntString |
Private Attributes | |
| mapIntString | mapAlarmCondition |
| mapIntString::iterator | pos |
typedef std::map<int, std::string> CAFEGlobalAlarmCondition::mapIntString [private] |
| CAFEGlobalAlarmCondition::CAFEGlobalAlarmCondition | ( | ) | [inline] |
References mapAlarmCondition, STAT_BAD_SUB, STAT_CALC, STAT_COMM, STAT_COS, STAT_DISABLE, STAT_HIGH, STAT_HIHI, STAT_HWLIMIT, STAT_LINK, STAT_LOLO, STAT_LOW, STAT_NO_ALARM, STAT_READ, STAT_READ_ACCESS, STAT_SCAN, STAT_SIMM, STAT_SOFT, STAT_STATE, STAT_TIMEOUT, STAT_UDF, STAT_WRITE, and STAT_WRITE_ACCESS.
| CAFEGlobalAlarmCondition::~CAFEGlobalAlarmCondition | ( | ) | [inline] |
| int CAFEGlobalAlarmCondition::asInt | ( | std::string | message | ) | [inline] |
References mapAlarmCondition, pos, and printAll().
| std::string CAFEGlobalAlarmCondition::asString | ( | int | i | ) | [inline] |
References mapAlarmCondition, pos, and printAll().
Referenced by PVHolder::getAlarmStatusAsString(), main(), PVDataHolder::print(), and PVCtrlHolder::print().
| void CAFEGlobalAlarmCondition::getStates | ( | std::vector< int > & | vecI, | |
| std::vector< std::string > & | vecS | |||
| ) | [inline] |
References mapAlarmCondition, and pos.
| void CAFEGlobalAlarmCondition::printAll | ( | ) | [inline] |
References mapAlarmCondition, and pos.
Referenced by asInt(), and asString().
Referenced by asInt(), asString(), CAFEGlobalAlarmCondition(), getStates(), and printAll().
mapIntString::iterator CAFEGlobalAlarmCondition::pos [private] |
Referenced by asInt(), asString(), getStates(), and printAll().
1.6.1