UA Server SDK C++ Bundle  1.4.0.258
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EventFilter Class Reference

Helper class for the EventManager interface implementation in EventManagerBase. More...

#include <eventmanagerhelper.h>

Public Member Functions

 EventFilter (EventManagerBase *pEventManagerBase, const UaNodeId &eventNotifier, Session *pSession)
 Constructs an event filter object. More...
 
 ~EventFilter ()
 Destroys the event filter object.
 
UaStatus updateFilter (const OpcUa_EventFilter *pEventFilter, OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError)
 Update the event filter.
 
UaStatus buildFilterTree (OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError)
 Builds the filter tree and validates the event filter.
 
OpcUa_Boolean applyFilter (UaEventData *pEventData)
 Applies the filter tree to the current event data.
 
OpcUa_Boolean getEventFields (UaEventData *pEventData, UaVariantArray &eventFields, Session *pSession)
 

Public Attributes

OpcUa_UInt32 m_fieldCount
 Number of fields selected in the event filter.
 
OpcUa_UInt32 * m_pFieldIndexArray
 Fields selected in the event filter.
 
UaContentFilterm_pContentFilter
 Content filter in the event filter.
 
EventFilterElementm_pEventFilterElement
 Event filter element tree used to execute the filter.
 
Sessionm_pSession
 Event filter used for the event item.
 
EventManagerBasem_pEventManagerBase
 Event manager interface.
 
UaNodeId m_EventNotifier
 NodeId of the event notifier used for this event item.
 
OpcUa_Boolean m_isEventNotifierServerObject
 
OpcUa_UInt32 m_sourceNodeFieldIndex
 

Detailed Description

Helper class for the EventManager interface implementation in EventManagerBase.

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

Constructor & Destructor Documentation

EventFilter::EventFilter ( EventManagerBase pEventManagerBase,
const UaNodeId eventNotifier,
Session pSession 
)

Constructs an event filter object.

Parameters
[in]pEventManagerBaseEventManagerBase interface
[in]eventNotifierNodeId of the event notifier for the event monitored item
[in]pSessionSession context for the event monitored item

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