|
| UaMonitoredItemData (const UaNodeId &nodeId, VariableHandle *pVariableHandle, OpcUa_MonitoringMode MonitoringMode, OpcUa_Int32 ClientHandle, OpcUa_Double SamplingInterval, UaSubscription *pUaSubscription, OpcUa_UInt32 QueueSize, OpcUa_Boolean DiscardOldest, OpcUa_DataChangeTrigger dataChangeTrigger) |
| construction More...
|
|
| ~UaMonitoredItemData () |
| destruction
|
|
MonitoredItemType | type () const |
| Get the type of monitored item.
|
|
OpcUa_Boolean | hasChanged () |
| Check if the value or status of the item has changed. More...
|
|
void | setMonitoringMode (OpcUa_MonitoringMode monitoringMode) |
| Set the Monitoring Mode. More...
|
|
void | setIOVariableHandle (OpcUa_UInt32 hIOVariable) |
| Set the related IOVariable handle. More...
|
|
void | setDiscardPolicy (OpcUa_Boolean discardOldest) |
| Set the discard policy for the monitored item. More...
|
|
OpcUa_Boolean | discardOldest () const |
| Get the discard policy for the monitored item.
|
|
void | setQueueSize (OpcUa_UInt32 queueSize) |
| Set the queue size for the monitored item. More...
|
|
OpcUa_UInt32 | queueSize () |
| Get the queue size of the monitored item.
|
|
void | setAbsolutDeadband (OpcUa_Double absoluteDeadband) |
| Set the absolute deadband for the monitored item. More...
|
|
void | setDataChangeTrigger (OpcUa_DataChangeTrigger dataChangeTrigger) |
| Set the data change trigger for the monitored item. More...
|
|
OpcUa_DataChangeTrigger | dataChangeTrigger () const |
| Get the data change trigger for the monitored item.
|
|
IOManager * | pIOManager () const |
| Get the related IOManager.
|
|
VariableHandle * | pVariableHandle () const |
| Get the related VariableHandle.
|
|
UaDataValue * | getChangedValue () |
| Get changed value from item and reset changed flag. More...
|
|
virtual void | reset () |
| Deletes all queued datachanges and resets flags to the state of creation.
|
|
virtual void | dataChange (const UaDataValue &dataValue) |
| Signal a change in value or state. More...
|
|
virtual UaDataValue | getLastValue () |
| 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.
|
|
| UaMonitoredItem (const UaNodeId &nodeId, OpcUa_MonitoringMode MonitoringMode, OpcUa_Int32 ClientHandle, OpcUa_Double SamplingInterval, UaSubscription *pUaSubscription) |
| construction More...
|
|
virtual | ~UaMonitoredItem () |
| destruction
|
|
void | setClientHandle (OpcUa_Int32 clientHandle) |
| Set the client handle of the monitored item. More...
|
|
OpcUa_Int32 | clientHandle () const |
| Get the client handle of the monitored item. More...
|
|
OpcUa_MonitoringMode | monitoringMode () const |
| Get the monitoring mode of the monitored item. More...
|
|
void | setSamplingInterval (OpcUa_Double samplingInterval) |
| Set the sampling rate of the monitored item. More...
|
|
OpcUa_Double | samplingInterval () const |
| Get the sampling rate of the monitored item. More...
|
|
UaNodeId | nodeId () const |
| NodeId of the node monitored with this item. More...
|
|
void | setLinks (std::list< OpcUa_UInt32 > *pLinks) |
| Sets the triggering links of the monitored item. More...
|
|
std::list< OpcUa_UInt32 > * | links () |
| Returns the triggering links of the monitored item. More...
|
|
OpcUa_Boolean | wasTriggered () const |
| Check if the item triggered. More...
|
|
void | resetTriggeredStatus () |
| Sets the triggered status of the monitored item to false.
|
|
OpcUa_TimestampsToReturn | timestampsToReturn () const |
| Timestamps to return with a datavalue.
|
|
void | setTimestampsToReturn (OpcUa_TimestampsToReturn timestampsToReturn) |
| Sets which timestamps shall be returned with a data value.
|
|
| IOVariableCallback () |
| Construction.
|
|
virtual | ~IOVariableCallback () |
| Destruction.
|
|
UaMonitoredItemData.
Implements a UA monitored item for data changes. Derived from UaMonitoredItem and IOVariableCallback It is not possible to create shallow copies of this class. It is not possible to use the default constructor.