#include <eventmanager.h>
Public Member Functions | |
EventManager () | |
construction | |
virtual | ~EventManager () |
destruction | |
virtual UaStatus | beginEventTransaction (EventManagerCallback *pCallback, const ServiceContext &serviceContext, OpcUa_UInt32 hTransaction, OpcUa_Handle &hEventManagerContext)=0 |
virtual UaStatus | beginStartMonitoring (OpcUa_Handle hEventManagerContext, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, EventCallback *pEventCallback, OpcUa_EventFilter *pEventFilter, OpcUa_Double samplingInterval)=0 |
virtual UaStatus | beginModifyMonitoring (OpcUa_Handle hEventManagerContext, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_UInt32 hEventItem, OpcUa_Int32 samplingInterval)=0 |
virtual UaStatus | beginStopMonitoring (OpcUa_Handle hEventManagerContext, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_UInt32 hEventItem)=0 |
virtual UaStatus | finishEventTransaction (OpcUa_Handle hEventManagerContext)=0 |
virtual UaStatus EventManager::beginEventTransaction | ( | EventManagerCallback * | pCallback, | |
const ServiceContext & | serviceContext, | |||
OpcUa_UInt32 | hTransaction, | |||
OpcUa_Handle & | hEventManagerContext | |||
) | [pure virtual] |
Start a transaction.
pCallback | Callback interface used for the transaction. The IOManager must use this interface to finish the action for each passed node in the transaction. | |
serviceContext | General context for the service calls containing information like the session object, return diagnostic mask and timeout hint. | |
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. | |
hEventManagerContext | a Variable with all information about the current context. |
Implemented in UaObjectServer.
virtual UaStatus EventManager::beginStartMonitoring | ( | OpcUa_Handle | hEventManagerContext, | |
OpcUa_UInt32 | callbackHandle, | |||
OpcUa_UInt32 | eventManagerIndex, | |||
EventCallback * | pEventCallback, | |||
OpcUa_EventFilter * | pEventFilter, | |||
OpcUa_Double | samplingInterval | |||
) | [pure virtual] |
Start monitoring of an event notifier.
hEventManagerContext | a Variable with all information about the current context. | |
callbackHandle | Handle for the node in the callback. | |
eventManagerIndex | an Index of different EventManagers. | |
pEventCallback | the callback Event of the actual used monitored Item. | |
pEventFilter | a filter for all Events that can occur. | |
samplingInterval | a Variable with information about the samplingInterval. |
Implemented in UaObjectServer.
virtual UaStatus EventManager::beginModifyMonitoring | ( | OpcUa_Handle | hEventManagerContext, | |
OpcUa_UInt32 | callbackHandle, | |||
OpcUa_UInt32 | eventManagerIndex, | |||
OpcUa_UInt32 | hEventItem, | |||
OpcUa_Int32 | samplingInterval | |||
) | [pure virtual] |
Notify EventManager about modifying monitoring parameters of an event notifier.
hEventManagerContext | a Variable with all information about the current context. | |
callbackHandle | Handle for the node in the callback. | |
eventManagerIndex | an Index of different EventManagers. | |
hEventItem | an EventItem used to fire an Event. | |
samplingInterval | a Variable with information about the samplingInterval. |
Implemented in UaObjectServer.
virtual UaStatus EventManager::beginStopMonitoring | ( | OpcUa_Handle | hEventManagerContext, | |
OpcUa_UInt32 | callbackHandle, | |||
OpcUa_UInt32 | eventManagerIndex, | |||
OpcUa_UInt32 | hEventItem | |||
) | [pure virtual] |
Notify EventManager about stopping monitoring of an event notifier.
hEventManagerContext | a Variable with all information about the current context. | |
callbackHandle | Handle for the node in the callback. | |
eventManagerIndex | an Index of different EventManagers. | |
hEventItem | an EventItem used to fire an Event. |
Implemented in UaObjectServer.
virtual UaStatus EventManager::finishEventTransaction | ( | OpcUa_Handle | hEventManagerContext | ) | [pure virtual] |
Finish a transaction.
hEventManagerContext | a Variable with all information about the current context. |
Implemented in UaObjectServer.