uatools 1.0.0
 
Loading...
Searching...
No Matches
eso::uatools::MonitorEntry Struct Reference

Per-monitored-item state. More...

Public Attributes

UA_UInt32 ua_monitor_id {0}
 
fnd::Address address
 
OpcuaConnectionowner {nullptr}
 
fnd::SubscriptionHandler handler {}
 

Detailed Description

Per-monitored-item state.

open62541's monitored-item callback receives a per-item monContext opaque pointer. We allocate a MonitorEntry on the heap, hand its pointer to open62541, and embed the Address, a back-pointer to the owning OpcuaConnection, AND the SubscriptionHandler that was passed in the Subscribe() call that registered this node.

Member Data Documentation

◆ address

fnd::Address eso::uatools::MonitorEntry::address

◆ handler

fnd::SubscriptionHandler eso::uatools::MonitorEntry::handler {}

◆ owner

OpcuaConnection* eso::uatools::MonitorEntry::owner {nullptr}

◆ ua_monitor_id

UA_UInt32 eso::uatools::MonitorEntry::ua_monitor_id {0}

The documentation for this struct was generated from the following file: