open62541pp 0.15.0
C++ wrapper of open62541
|
#include <monitoreditem.hpp>
High-level monitored item class.
Use the free functions in the opcua::services namespace for more advanced usage:
Definition at line 29 of file monitoreditem.hpp.
Public Member Functions | |
MonitoredItem (Connection &connection, uint32_t subscriptionId, uint32_t monitoredItemId) noexcept | |
Connection & | connection () noexcept |
const Connection & | connection () const noexcept |
uint32_t | subscriptionId () const noexcept |
uint32_t | monitoredItemId () const noexcept |
const NodeId & | getNodeId () |
AttributeId | getAttributeId () |
void | setMonitoringParameters (MonitoringParametersEx ¶meters) |
void | setMonitoringMode (MonitoringMode monitoringMode) |
void | deleteMonitoredItem () |
|
inlinenoexcept |
Wrap an existing monitored item.
The subscriptionId
is ignored and set to 0U
for servers.
Definition at line 33 of file monitoreditem.hpp.
|
inlinenoexcept |
Get the server/client instance.
Definition at line 41 of file monitoreditem.hpp.
Referenced by opcua::MonitoredItem< Connection >::deleteMonitoredItem(), opcua::MonitoredItem< Connection >::setMonitoringMode(), and opcua::MonitoredItem< Connection >::setMonitoringParameters().
|
inlinenoexcept |
Get the server/client instance.
Definition at line 46 of file monitoreditem.hpp.
|
inlinenoexcept |
Get the server-assigned identifier of the underlying subscription.
Definition at line 51 of file monitoreditem.hpp.
Referenced by opcua::MonitoredItem< Connection >::deleteMonitoredItem(), opcua::MonitoredItem< Connection >::setMonitoringMode(), and opcua::MonitoredItem< Connection >::setMonitoringParameters().
|
inlinenoexcept |
Get the server-assigned identifier of this monitored item.
Definition at line 56 of file monitoreditem.hpp.
Referenced by opcua::MonitoredItem< Connection >::deleteMonitoredItem(), opcua::MonitoredItem< Connection >::setMonitoringMode(), and opcua::MonitoredItem< Connection >::setMonitoringParameters().
const NodeId & opcua::MonitoredItem< Connection >::getNodeId | ( | ) |
Get the monitored NodeId.
AttributeId opcua::MonitoredItem< Connection >::getAttributeId | ( | ) |
Get the monitored AttributeId.
|
inline |
Modify this monitored item.
Definition at line 69 of file monitoreditem.hpp.
|
inline |
Set the monitoring mode of this monitored item.
Definition at line 77 of file monitoreditem.hpp.
|
inline |
Delete this monitored item.
Definition at line 84 of file monitoreditem.hpp.