C++ Based OPC UA Client/Server SDK
1.6.1.391
|
Helper class for the EventManager interface implementation in EventManagerBase. More...
#include <eventmanagerhelper.h>
Public Member Functions | |
EventFilterElement () | |
Constructs an event filter element object. | |
~EventFilterElement () | |
Destroys the event filter element object. | |
UaStatus | buildFilterTree (OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError) |
Builds the filter tree and validates the event filter. | |
OpcUa_Boolean | applyFilter (UaEventData *pEventData, Session *pSession, OpcUa_Boolean &isNull) |
Applies the filter tree to the current event data and returns a boolean value for operators resulting in true or false. More... | |
UaVariant | applyFilterVariant (UaEventData *pEventData, Session *pSession) |
Applies the filter tree to the current event data and returns a variant value for operators resulting in a value. More... | |
Public Attributes | |
UaContentFilterElement * | m_pContentFilterElement |
Corresponding content filter element. | |
EventFilterOperands | m_filterOperands |
Event filter operands of this filter element. | |
Helper class for the EventManager interface implementation in EventManagerBase.
This class is used to represent an event filter element in the EventFilter class.
OpcUa_Boolean EventFilterElement::applyFilter | ( | UaEventData * | pEventData, |
Session * | pSession, | ||
OpcUa_Boolean & | isNull | ||
) |
Applies the filter tree to the current event data and returns a boolean value for operators resulting in true or false.
[in] | pEventData | Event data for the new event |
[in] | pSession | Session context for the event monitored item |
[in] | isNull | Flag indicating if the filter result can not be resolved to a boolean value and the result is NULL |
UaVariant EventFilterElement::applyFilterVariant | ( | UaEventData * | pEventData, |
Session * | pSession | ||
) |
Applies the filter tree to the current event data and returns a variant value for operators resulting in a value.
[in] | pEventData | Event data for the new event |
[in] | pSession | Session context for the event monitored item |