#include <historymanager.h>
Public Member Functions | |
HistoryManagerCallback () | |
virtual | ~HistoryManagerCallback () |
virtual UaStatus | finishHistoryReadData (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, const UaStatus &result, HistoryReadCPUserDataBase *pContinuationPoint, UaDataValues &dataValues, OpcUa_Boolean allowThreadUse=OpcUa_False)=0 |
virtual UaStatus | finishHistoryReadEvent (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, const UaStatus &result, HistoryReadCPUserDataBase *pContinuationPoint, UaHistoryEventFieldLists &events, OpcUa_Boolean allowThreadUse=OpcUa_False)=0 |
virtual UaStatus | finishHistoryUpdate (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, const UaStatus &result, UaStatusCodeArray &operationResults, UaDiagnosticInfos &operationDiagnosticInfos, OpcUa_Boolean allowThreadUse=OpcUa_False)=0 |
HistoryManagerCallback::HistoryManagerCallback | ( | ) | [inline] |
construction
virtual HistoryManagerCallback::~HistoryManagerCallback | ( | ) | [inline, virtual] |
destruction
virtual UaStatus HistoryManagerCallback::finishHistoryReadData | ( | OpcUa_UInt32 | hTransaction, | |
OpcUa_UInt32 | callbackHandle, | |||
const UaStatus & | result, | |||
HistoryReadCPUserDataBase * | pContinuationPoint, | |||
UaDataValues & | dataValues, | |||
OpcUa_Boolean | allowThreadUse = OpcUa_False | |||
) | [pure virtual] |
Finishes a historizing ReadData.
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. | |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginStopMonitoring method. | |
result | The result of the current Operation. | |
pContinuationPoint | The continuation point data if not all results can be returned in one Read call. Implementers of this interface can store the continuation point data in a derived class. | |
dataValues | The requested Values for this operation. The values array will be detached by the SDK. | |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last node in the transaction. |
Implemented in UaTransactionManager.
virtual UaStatus HistoryManagerCallback::finishHistoryReadEvent | ( | OpcUa_UInt32 | hTransaction, | |
OpcUa_UInt32 | callbackHandle, | |||
const UaStatus & | result, | |||
HistoryReadCPUserDataBase * | pContinuationPoint, | |||
UaHistoryEventFieldLists & | events, | |||
OpcUa_Boolean | allowThreadUse = OpcUa_False | |||
) | [pure virtual] |
Finishes a historizing ReadEvent.
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. | |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginStopMonitoring method. | |
result | the result of the current Operation. | |
pContinuationPoint | The continuation point data if not all results can be returned in one Read call. Implementers of this interface can store the continuation point data in a derived class. | |
events | a list of events that match the read filter. The event array will be detached by the SDK. | |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last node in the transaction. |
Implemented in UaTransactionManager.
virtual UaStatus HistoryManagerCallback::finishHistoryUpdate | ( | OpcUa_UInt32 | hTransaction, | |
OpcUa_UInt32 | callbackHandle, | |||
const UaStatus & | result, | |||
UaStatusCodeArray & | operationResults, | |||
UaDiagnosticInfos & | operationDiagnosticInfos, | |||
OpcUa_Boolean | allowThreadUse = OpcUa_False | |||
) | [pure virtual] |
Finishes a historizing Update.
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. | |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginStopMonitoring method. | |
result | the result of the current Operation. | |
operationResults | the results of an actual operation. | |
operationDiagnosticInfos | the diagnsotic information of the current operation. | |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last node in the transaction. |
Implemented in UaTransactionManager.