UaMonitoredItem.
More...
#include <uamonitoreditem.h>
Inherited by UaMonitoredItemData, and UaMonitoredItemEvent.
UaMonitoredItem.
Implements a UA monitored item. It is not possible to create shallow copies of this class. It is not possible to use the default constructor.
MonitoredItem type enumeration.
Enumerator |
---|
DATA |
Data monitored item used to monitor node attributes like the Value attribute for data changes
|
EVENT |
Event monitored item used to monitor the event notifier attribute of objects for event notifications
|
construction
- Parameters
-
nodeId | The Id of the given Node. |
MonitoringMode | the mode for monitoring items. |
ClientHandle | a handle to the client. |
SamplingInterval | the value in MS for a Interval of a Variable. |
pUaSubscription | The subscription of the given Node. |
OpcUa_Int32 UaMonitoredItem::clientHandle |
( |
| ) |
const |
|
inline |
Get the client handle of the monitored item.
- Returns
- the client handle of the monitored item
virtual OpcUa_Boolean UaMonitoredItem::hasChanged |
( |
| ) |
|
|
pure virtual |
std::list<OpcUa_UInt32>* UaMonitoredItem::links |
( |
| ) |
|
|
inline |
Returns the triggering links of the monitored item.
- Returns
- Triggering links of the monitored item.
Get the monitoring mode of the monitored item.
- Returns
- the monitoring mode of the monitored item
UaNodeId UaMonitoredItem::nodeId |
( |
| ) |
const |
|
inline |
NodeId of the node monitored with this item.
- Returns
- NodeId used for the monitored item
OpcUa_Double UaMonitoredItem::samplingInterval |
( |
| ) |
const |
|
inline |
Get the sampling rate of the monitored item.
- Returns
- the sampling rate of the monitored item
void UaMonitoredItem::setClientHandle |
( |
OpcUa_Int32 |
clientHandle | ) |
|
|
inline |
Set the client handle of the monitored item.
- Parameters
-
clientHandle | New client handle for the monitored item |
void UaMonitoredItem::setLinks |
( |
std::list< OpcUa_UInt32 > * |
pLinks | ) |
|
|
inline |
Sets the triggering links of the monitored item.
- Parameters
-
pLinks | the triggering links the monitored item |
void UaMonitoredItem::setSamplingInterval |
( |
OpcUa_Double |
samplingInterval | ) |
|
|
inline |
Set the sampling rate of the monitored item.
- Parameters
-
samplingInterval | the sampling rate of the monitored item |
OpcUa_Boolean UaMonitoredItem::wasTriggered |
( |
| ) |
const |
|
inline |
Check if the item triggered.
- Returns
- true if triggered false if not.
The documentation for this class was generated from the following files:
- D:/work/uasdkcpp/src/uaserver/uaservercpp/uamodule/uamonitoreditem.h
- D:/work/uasdkcpp/src/uaserver/uaservercpp/uamodule/uamonitoreditem.cpp