AlarmGen

Encapsulates the sending of alarm generation and response messages to the Alarm Manager. The structure is:

class AlarmGen

{

public:

  AlarmGen ();

  int InitializeAmGen (int portIndex);

  void ResetFields ();

  void AddField (LPCTSTR value);

  void AddField (int value);

  GenerateAlarm (LPCTSTR alarmId,LPCTSTR fr,LPCTSTR refId);

  GenerateAlarmStamp (LPCTSTR alarmId,LPCTSTR fr,LPCTSTR

                     refId,COR_STAMP stamp);

  AckAlarm (LPCTSTR alarmId,LPCTSTR fr,LPCTSTR refId);

  ResetAlarm (LPCTSTR alarmId,LPCTSTR fr,LPCTSTR refId);

  DeleteAlarm (LPCTSTR alarmId,LPCTSTR fr,LPCTSTR refId);

}

More information

Create an XASMgr API application.