open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::detail::ClientContext Struct Reference

#include <client_context.hpp>

Detailed Description

Internal storage for Client class.

Definition at line 32 of file client_context.hpp.

Public Types

using SubId = uint32_t
 
using MonId = uint32_t
 
using SubMonId = std::pair<uint32_t, uint32_t>
 

Public Attributes

ExceptionCatcher exceptionCatcher
 
std::atomic< bool > running {false}
 
std::vector< DataTypedataTypes
 
std::unique_ptr< UA_DataTypeArraydataTypeArray
 
ContextMap< SubId, services::detail::SubscriptionContextsubscriptions
 
ContextMap< SubMonId, services::detail::MonitoredItemContextmonitoredItems
 
UA_SessionState lastSessionState {}
 
UA_SecureChannelState lastChannelState {}
 
std::array< std::function< void()>, clientStateCountstateCallbacks
 
std::function< void()> inactivityCallback
 

Member Typedef Documentation

◆ SubId

Definition at line 40 of file client_context.hpp.

◆ MonId

Definition at line 41 of file client_context.hpp.

◆ SubMonId

using opcua::detail::ClientContext::SubMonId = std::pair<uint32_t, uint32_t>

Definition at line 42 of file client_context.hpp.

Member Data Documentation

◆ exceptionCatcher

ExceptionCatcher opcua::detail::ClientContext::exceptionCatcher

Definition at line 33 of file client_context.hpp.

◆ running

std::atomic<bool> opcua::detail::ClientContext::running {false}

Definition at line 34 of file client_context.hpp.

◆ dataTypes

std::vector<DataType> opcua::detail::ClientContext::dataTypes

Definition at line 36 of file client_context.hpp.

◆ dataTypeArray

std::unique_ptr<UA_DataTypeArray> opcua::detail::ClientContext::dataTypeArray

Definition at line 37 of file client_context.hpp.

◆ subscriptions

ContextMap<SubId, services::detail::SubscriptionContext> opcua::detail::ClientContext::subscriptions

Definition at line 43 of file client_context.hpp.

◆ monitoredItems

ContextMap<SubMonId, services::detail::MonitoredItemContext> opcua::detail::ClientContext::monitoredItems

Definition at line 44 of file client_context.hpp.

◆ lastSessionState

UA_SessionState opcua::detail::ClientContext::lastSessionState {}

Definition at line 50 of file client_context.hpp.

◆ lastChannelState

UA_SecureChannelState opcua::detail::ClientContext::lastChannelState {}

Definition at line 51 of file client_context.hpp.

◆ stateCallbacks

std::array<std::function<void()>, clientStateCount> opcua::detail::ClientContext::stateCallbacks

Definition at line 53 of file client_context.hpp.

◆ inactivityCallback

std::function<void()> opcua::detail::ClientContext::inactivityCallback

Definition at line 54 of file client_context.hpp.