EventFilter Class Reference

#include <eventmanagerhelper.h>

Collaboration diagram for EventFilter:

List of all members.

Public Member Functions

 EventFilter (EventManagerBase *pEventManagerBase, const UaNodeId &eventNotifier, Session *pSession)
 ~EventFilter ()
UaStatus updateFilter (const OpcUa_EventFilter *pEventFilter, OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError)
UaStatus buildFilterTree (OpcUa_EventFilterResult *pEventFilterResult, OpcUa_Boolean &hasFilterError)
OpcUa_Boolean applyFilter (UaEventData *pEventData)

Public Attributes

OpcUa_UInt32 m_fieldCount
 Number of fields slected 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.

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
EventFilter::~EventFilter (  )

Destroys the event filter object


Member Function Documentation

OpcUa_Boolean EventFilter::applyFilter ( UaEventData pEventData )

Applies the filter tree to the current event data.

UaStatus EventFilter::buildFilterTree ( OpcUa_EventFilterResult *  pEventFilterResult,
OpcUa_Boolean &  hasFilterError 
)

Builds the filter tree and validates the event filter.

UaStatus EventFilter::updateFilter ( const OpcUa_EventFilter *  pEventFilter,
OpcUa_EventFilterResult *  pEventFilterResult,
OpcUa_Boolean &  hasFilterError 
)

Update the event filter.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/eventmanagerhelper.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/eventmanagerhelper.cpp