11#include "open62541pp/config.hpp"
20namespace opcua::detail {
22enum class ClientState {
28inline constexpr size_t clientStateCount = 4;
34 ExceptionCatcher exceptionCatcher;
35 std::atomic<bool> running{
false};
37 std::vector<DataType> dataTypes;
38 std::unique_ptr<UA_DataTypeArray> dataTypeArray;
40#if UAPP_OPEN62541_VER_LE(1, 0)
41 UA_ClientState lastClientState{};
46 std::array<std::function<void()>, clientStateCount> stateCallbacks;
47 std::function<void()> inactivityCallback;
49#ifdef UA_ENABLE_SUBSCRIPTIONS
52 using SubMonId = std::pair<SubId, MonId>;
53 ContextMap<SubId, services::detail::SubscriptionContext> subscriptions;
54 ContextMap<SubMonId, services::detail::MonitoredItemContext> monitoredItems;
55 std::function<void(
IntegerId)> subscriptionInactivityCallback;
uint32_t IntegerId
IntegerId.