C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537

Wrapper class for the OPC UA EventFilter structure. More...

#include <uaeventfilter.h>

Public Member Functions

 UaEventFilter ()
 Constructs an empty event filter. More...
 
 UaEventFilter (const UaEventFilter &other)
 Constructs an event filter from another event filter object. More...
 
 UaEventFilter (const OpcUa_EventFilter &other)
 Constructs an event filter from an event filter structure. More...
 
 ~UaEventFilter ()
 Destroys the event filter object. More...
 
void clear ()
 Clears the event filter members and frees the resources used. More...
 
UaEventFilteroperator= (const UaEventFilter &other)
 Assigns another event filter object to this event filter object and returns a reference to this object.
 
void setSelectClauseElement (OpcUa_UInt32 index, const UaSimpleAttributeOperand &selectElement, OpcUa_UInt32 arraySize)
 Sets one element of the event filter select clause. More...
 
void setWhereClause (UaContentFilter *pWhereClause)
 Sets the where clause of the event filter. More...
 
void detachFilter (OpcUa_ExtensionObject &filter)
 Creates the extension object for the filter and detaches the EventFilter data to the extension object. More...
 
void copyFilter (OpcUa_EventFilter &filter) const
 Detaches the EventFilter data to the event filter structure. More...
 

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 ( const UaEventFilter other)

Constructs an event filter from another event filter object.

UaEventFilter::UaEventFilter ( const OpcUa_EventFilter other)

Constructs an event filter from an event filter structure.

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::copyFilter ( OpcUa_EventFilter filter) const

Detaches the EventFilter data to the event filter structure.

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: