UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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
 Send new event. 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

Send new event.

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: