C++ Based OPC UA Client/Server SDK  1.5.5.355
EventCallback Class Referenceabstract

The callback interface for event monitored items. More...

#include <eventmanager.h>

Inherited by UaMonitoredItemEvent.

Public Member Functions

 EventCallback ()
 construction
 
virtual ~EventCallback ()
 destruction
 
virtual void newEvent (UaVariantArray &eventFields, OpcUa_Boolean detach)=0
 A new event occured. More...
 
virtual void invalidateEventManager (OpcUa_UInt32 eventManagerIndex)=0
 Invalidate the event manager in the event receiver to be able to remove the EventManager from the system. More...
 

Detailed Description

The callback interface for event monitored items.

Member Function Documentation

virtual void EventCallback::invalidateEventManager ( OpcUa_UInt32  eventManagerIndex)
pure virtual

Invalidate the event manager in the event receiver to be able to remove the EventManager from the system.

Parameters
eventManagerIndexindex of the event manager used by the event receiver to identify the event manager. This index was provided in beginStartMonitoring or beginModifyMonitoring

Implemented in UaMonitoredItemEvent.

virtual void EventCallback::newEvent ( UaVariantArray eventFields,
OpcUa_Boolean  detach 
)
pure virtual

A new event occured.

The implementation of this method should never block. Only fill data into a queue here and process asynchronously.

Parameters
eventFieldsa field of all Events that can occur.
detachIndicates if the event data contained in the eventFields can be detached or not.

Implemented in UaMonitoredItemEvent.


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