CAmvStateFilter::State()

Gets the state type for the filter.

The state type is one of the following:

AM_GENERATED

Alarms with Generated state.

AM_ACKNOWLEDGED

Alarms with Acknowledged state.

AM_CLEARED

Alarms with Cleared state.

AM_DELETED

Alarms with Deleted state.

AM_NONEXISTENT

Invalid filter or connection.

Comments

If the filter or connection is found to be invalid, AM_NONEXISTENT is returned and ret_stat->status is set to COR_FAILURE.

Syntax

AM_STATE_TYPE state;

CAmvStateFilter* state_ptr;

state = state_ptr->State(&ret_stat)

Data Type

typedef int AM_STATE_TYPE;

More information

CAmvStateFilter class member overview.