#include <statusCodes.h>
Public Member Functions | |
CAFEGlobalAlarmSeverity () | |
~CAFEGlobalAlarmSeverity () | |
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 | mapAlarmSeverity |
mapIntString::iterator | pos |
typedef std::map<int, std::string> CAFEGlobalAlarmSeverity::mapIntString [private] |
CAFEGlobalAlarmSeverity::CAFEGlobalAlarmSeverity | ( | ) | [inline] |
References mapAlarmSeverity, SEV_INVALID, SEV_MAJOR, SEV_MINOR, and SEV_NO_ALARM.
CAFEGlobalAlarmSeverity::~CAFEGlobalAlarmSeverity | ( | ) | [inline] |
int CAFEGlobalAlarmSeverity::asInt | ( | std::string | message | ) | [inline] |
References mapAlarmSeverity, pos, and printAll().
std::string CAFEGlobalAlarmSeverity::asString | ( | int | i | ) | [inline] |
References mapAlarmSeverity, pos, and printAll().
Referenced by PVHolder::getAlarmSeverityAsString(), main(), PVDataHolder::print(), and PVCtrlHolder::print().
void CAFEGlobalAlarmSeverity::getStates | ( | std::vector< int > & | vecI, | |
std::vector< std::string > & | vecS | |||
) | [inline] |
References mapAlarmSeverity, and pos.
void CAFEGlobalAlarmSeverity::printAll | ( | ) | [inline] |
References mapAlarmSeverity, and pos.
Referenced by asInt(), and asString().
Referenced by asInt(), asString(), CAFEGlobalAlarmSeverity(), getStates(), and printAll().
mapIntString::iterator CAFEGlobalAlarmSeverity::pos [private] |
Referenced by asInt(), asString(), getStates(), and printAll().