CAmvAlarm::Class()

Class for the alarm.

Syntax

CAmvAlarm* alarm_ptr;

alarm_ptr->Class();

Data Type

CAmvClassFilter*

Example

This example prints an alarm ID and its class.

CAmvAlarm* alarm_ptr;

TCHAR id_buf[CLASS_ID_LEN+1];

_tprintf(_T("Alarm %s is class %s\n"),

         alarm_ptr->ID(),

         alarm_ptr->Class()->ID(id_buf));

See Also

CAmvClassFilter

More information

CAmvAlarm Class member overview.