C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
EventFilterElement Class Reference

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, int recursionCounter)
 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

UaContentFilterElementm_pContentFilterElement
 Corresponding content filter element.
 
EventFilterOperands m_filterOperands
 Event filter operands of this filter element.
 

Detailed Description

Helper class for the EventManager interface implementation in EventManagerBase.

This class is used to represent an event filter element in the EventFilter class.

Member Function Documentation

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.

Parameters
[in]pEventDataEvent data for the new event
[in]pSessionSession context for the event monitored item
[in]isNullFlag 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.

Parameters
[in]pEventDataEvent data for the new event
[in]pSessionSession context for the event monitored item

The documentation for this class was generated from the following files: