UaEventFilter Class Reference
[UA Base Library Classes]

#include <uaeventfilter.h>

Collaboration diagram for UaEventFilter:

List of all members.

Public Member Functions

 UaEventFilter ()
 ~UaEventFilter ()
void clear ()
void setSelectClauseElement (OpcUa_UInt32 index, const UaSimpleAttributeOperand &selectElement, OpcUa_UInt32 arraySize)
void setWhereClause (UaContentFilter *pWhereClause)
void detachFilter (OpcUa_ExtensionObject &filter)

Detailed Description

Wrapper class for the OPC UA EventFilter structure

The EventFilter provides for the filtering and content selection of Event Subscriptions. If an Event Notification conforms to the filter defined by the where parameter of the EventFilter, then the Notification is sent to the Client. Each Event Notification includes the fields defined by the selectClauses parameter of the EventFilter.


Constructor & Destructor Documentation

UaEventFilter::UaEventFilter (  )

Constructs an empty event filter.

UaEventFilter::~UaEventFilter (  )

Destroys the event filter object.


Member Function Documentation

void UaEventFilter::clear (  )

Clears the event filter members and frees the resources used.

void UaEventFilter::detachFilter ( OpcUa_ExtensionObject &  filter )

Creates the extension object for the filter and detaches the EventFilter data to the extension object.

void UaEventFilter::setSelectClauseElement ( OpcUa_UInt32  index,
const UaSimpleAttributeOperand selectElement,
OpcUa_UInt32  arraySize 
)

Sets one element of the event filter select clause.

The select clause is composed of an array of SimpleAttributeOperands.

void UaEventFilter::setWhereClause ( UaContentFilter pWhereClause )

Sets the where clause of the event filter.

The passed content filter will be deleted by the UaEventFilter. If an Event Notification conforms to the filter defined by the where parameter of the EventFilter, then the Notification is sent to the Client.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaeventfilter.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaeventfilter.cpp