C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
EventFilterOperand Class Reference

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

#include <eventmanagerhelper.h>

Public Member Functions

 EventFilterOperand ()
 Constructs an event filter operand object.
 
 ~EventFilterOperand ()
 Destroys the event filter operand object.
 
UaVariant value (UaEventData *pEventData, Session *pSession)
 Returns the operand value.
 
OpcUa_Boolean boolValue (UaEventData *pEventData, Session *pSession, OpcUa_Boolean &isNull)
 Tries to resolve the operand to an boolean value. More...
 

Public Attributes

const UaFilterOperandm_pFilterOperand
 Corresponding content filter element operand.
 
OpcUa_UInt32 m_fieldIndex
 Field Index if the operand is a SimpleAttributeOperand.
 
EventFilterElementm_pEventFilterElement
 EventFilterElement if the operand is an ElementOperand.
 
Sessionm_pSession
 Event filter used for the event item.
 

Detailed Description

Helper class for the EventManager interface implementation in EventManagerBase.

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

Member Function Documentation

OpcUa_Boolean EventFilterOperand::boolValue ( UaEventData pEventData,
Session pSession,
OpcUa_Boolean &  isNull 
)

Tries to resolve the operand to an boolean value.

Returns NULL indicated by the isNull flag if this is not possible.

Parameters
[in]pEventDataEvent data for the new event
[in]pSessionSession context for the event monitored item
[in]isNullFlag indicating if the operand can not be resolved to a boolean value and the result is NULL

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