Encapsulate the alarm update information. The structure is:
class CAlarmUpdateInfo
{
public:
CAlarmUpdateInfo();
~CAlarmUpdateInfo(){};
CAlarmUpdateInfo(AM_UPD_INF am_upd_inf);
AM_STATE_TYPE prev_state;
AM_STATE_TYPE requested_action;
AM_STATE_TYPE final_state;
COR_STAMP gentime; // traditional timestamp
COR_I4 generated_time; // alarm duration start time
COR_I4 cleared_time; // alarm duration end time
COR_I4 amrp_sync; // alarm duration AMRP sync
char alarm_id[ALARM_ID_LEN+1];
char fr_id[FR_ID_LEN+1];
char ref_id[AM_REF_ID_LEN+1];
char class_id[CLASS_ID_LEN+1];
char alarm_msg[ALARM_MSG_LEN+1];
COR_I1 log_file;
};
Classes. |