UA Server SDK C++ Bundle
1.3.2.200
|
Wrapper class for the OPC UA EventFilter structure. More...
#include <uaeventfilter.h>
Public Member Functions | |
UaEventFilter () | |
Constructs an empty event filter. | |
~UaEventFilter () | |
Destroys the event filter object. | |
void | clear () |
Clears the event filter members and frees the resources used. | |
void | setSelectClauseElement (OpcUa_UInt32 index, const UaSimpleAttributeOperand &selectElement, OpcUa_UInt32 arraySize) |
Sets one element of the event filter select clause. | |
void | setWhereClause (UaContentFilter *pWhereClause) |
Sets the where clause of the event filter. | |
void | detachFilter (OpcUa_ExtensionObject &filter) |
Creates the extension object for the filter and detaches the EventFilter data to the extension object. |
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.
UaEventFilter::UaEventFilter | ( | ) |
Constructs an empty event filter.
UaEventFilter::~UaEventFilter | ( | ) |
Destroys the event filter object.
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.