#include <eventmanager.h>
Public Member Functions | |
EventCallback () | |
virtual | ~EventCallback () |
virtual void | newEvent (UaVariantArray &eventFields, OpcUa_Boolean detach)=0 |
virtual void | invalidateEventManager (OpcUa_UInt32 eventManagerIndex)=0 |
The callback interface for event monitored items.
EventCallback::EventCallback | ( | ) | [inline] |
construction
virtual EventCallback::~EventCallback | ( | ) | [inline, virtual] |
destruction
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.
eventManagerIndex | index 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.
eventFields | a field of all Events that can occur. |
detach | Indicates if the new Event will be detached or not. |
Implemented in UaMonitoredItemEvent.