diff options
Diffstat (limited to 'src/plugins/opcua/freeopcua/qfreeopcuaworker.h')
-rw-r--r-- | src/plugins/opcua/freeopcua/qfreeopcuaworker.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/opcua/freeopcua/qfreeopcuaworker.h b/src/plugins/opcua/freeopcua/qfreeopcuaworker.h index c3edb7d..e65ca81 100644 --- a/src/plugins/opcua/freeopcua/qfreeopcuaworker.h +++ b/src/plugins/opcua/freeopcua/qfreeopcuaworker.h @@ -77,11 +77,14 @@ public slots: void handleSubscriptionTimeout(QFreeOpcUaSubscription *sub, QVector<QPair<uintptr_t, QOpcUa::NodeAttribute>> items); private: QFreeOpcUaSubscription *getSubscriptionForItem(uintptr_t handle, QOpcUa::NodeAttribute attr); + void cleanupSubscriptions(); QFreeOpcUaClientImpl *m_client; QHash<quint32, QFreeOpcUaSubscription *> m_subscriptions; QHash<uintptr_t, QHash<QOpcUa::NodeAttribute, QFreeOpcUaSubscription *>> m_attributeMapping; // Handle -> Attribute -> Subscription + + double m_minPublishingInterval; }; QT_END_NAMESPACE |