CAmvClassFilter::class_title

The alarm class description as configured in Alarm Classes from the Workbench.

Comments

This member is read-only and should not be modified.

Syntax

CAmvClassFilter* class_ptr;

class_ptr->class_title;

Data Type

TCHAR[CLASS_TITLE_LEN+1]

Example

This example prints the ID and description of all the alarm classes for which alarms will be displayed.

CAmvConn* AmvConn;

CAmvClassFilter* class_ptr;

TCHAR id_buf[CLASS_ID_LEN+1];

for (class_ptr = AmvConn->ClasssFilters->First();

     class_ptr != NULL;

     class_ptr = AmvConn->ClassFilters->Next(class_ptr)) {

   if (class_ptr->IsEnabled()) {

     _tprintf(_T("%s\t%s\n"),

               class_ptr->ID(id_buf),

               class_ptr->class_title);

   }

}

More information

CAmvClassFilter class member overview.