summaryrefslogtreecommitdiffstats
path: root/src/BobinkNode.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename classes to OpcUa* prefix, replace BobinkNode with OpcUaMonitoredNode ↵HEADmasterThomas Vanbesien28 min.1-111/+0
| | | | | | | | | | boilerplate Rename BobinkAuth → OpcUaAuth, BobinkClient → OpcUaClient (C++ class names only; QML module URI and singleton name stay as Bobink). Remove BobinkNode (QQuickItem-based) and add OpcUaMonitoredNode skeleton using QObject + QQmlParserStatus, following Qt convention for non-visual QML types.
* Log attribute reads to debug console and replace raw C++ types with Qt ↵Thomas Vanbesien23 hours1-0/+6
| | | | | | | | | | | | equivalents Connect QOpcUaNode::attributeRead signal to new handler that logs read results (value or error code) to the debug console via BobinkClient::statusMessage. Add nameFromAttribute() helper. Replace const char* arrays with QLatin1StringView, bare string literals with QStringLiteral, uint with quint32, int with qint32. Rename statusLog to debugLog in Main.qml for consistency.
* Add BobinkNode QML type and two-page demo for node monitoringThomas Vanbesien29 hours1-0/+105
BobinkNode (QQuickItem) monitors a single OPC UA node with automatic lifecycle: monitoring starts/stops based on item visibility (StackView page switches, Loader, etc.). Properties: nodeId, value (r/w), status, sourceTimestamp, serverTimestamp. On-demand readAttribute() for metadata. writeError signal for failed writes. Demo restructured with StackView: connection page → two node pages demonstrating the visibility-based monitoring lifecycle.