CAmvConn::SetPrimaryFilter

Set the sort order for alarm lists coming from AMRP.()

The filter type choices are:

AM_TIME_FILTER

Alarms are sorted by time

AM_STATE_FILTER

Alarms are sorted by state

AM_FR_FILTER

Alarms are sorted by resource

AM_CLASS_FILTER

Alarms are sorted by class

Comments

This controls the order of alarms as provided to the DispFunc() callback. In some cases, it may be better to not worry about sorting in the connection and to let the display list do the sorting.

A change in sort order will not take place until Setups->FilterSetup() is called.

Syntax

SetPrimaryFilter(AM_FILTER_TYPE type)

Data Type

void

More information

CAmvConn class member overview.