C++ Based OPC UA Client/Server/PubSub SDK
1.7.0.449
|
The callback interface for data monitored items. More...
#include <iomanager.h>
Inherited by PubSubServer::DataSetCollectorDataItem, and UaMonitoredItemData.
Public Member Functions | |
IOVariableCallback () | |
Construction. | |
virtual | ~IOVariableCallback () |
Destruction. | |
virtual void | dataChange (const UaDataValue &dataValue, bool changeCheckExecuted=false)=0 |
Send changed data. More... | |
virtual UaDataValue | getLastValue ()=0 |
Get last value send with dataChange. | |
virtual OpcUa_Int32 | getRemainingQueueSize () |
Get the number of free slots in the queue If no queue is provided, the return value is -1. | |
The callback interface for data monitored items.
|
pure virtual |
Send changed data.
dataValue | Contains the value, timestamps and result code for the changed data |
changeCheckExecuted | Optional flag indicating if the caller has already checked for value change |
Implemented in UaMonitoredItemDataDurable, UaMonitoredItemData, and PubSubServer::DataSetCollectorDataItem.