UA Server SDK C++ Bundle
1.4.0.258
|
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 UaFilterOperand * | m_pFilterOperand |
Corresponding content filter element operand. | |
OpcUa_UInt32 | m_fieldIndex |
Field Index if the operand is a SimpleAttributeOperand. | |
EventFilterElement * | m_pEventFilterElement |
EventFilterElement if the operand is an ElementOperand. | |
Session * | m_pSession |
Event filter used for the event item. | |
Helper class for the EventManager interface implementation in EventManagerBase.
This class is used to represent an event filter element in the EventFilter class.
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.
[in] | pEventData | Event data for the new event |
[in] | pSession | Session context for the event monitored item |
[in] | isNull | Flag indicating if the operand can not be resolved to a boolean value and the result is NULL |