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

#include <subscription_context.hpp>

Inheritance diagram for opcua::services::detail::SubscriptionContext:
[legend]

Detailed Description

Definition at line 17 of file subscription_context.hpp.

Static Public Member Functions

static void statusChangeCallbackNative (UA_Client *client, uint32_t subId, void *subContext, UA_StatusChangeNotification *notification) noexcept
 
static void deleteCallbackNative (UA_Client *client, uint32_t subId, void *subContext) noexcept
 

Public Attributes

bool stale {false}
 
std::function< void(uint32_t subId, StatusChangeNotification &)> statusChangeCallback
 
std::function< void(uint32_t subId)> deleteCallback
 
- Public Attributes inherited from opcua::services::detail::CallbackAdapter
opcua::detail::ExceptionCatchercatcher = nullptr
 

Additional Inherited Members

- Public Member Functions inherited from opcua::services::detail::CallbackAdapter
template<typename F , typename... Args>
void invoke (F &&callback, Args &&... args) const noexcept
 

Member Function Documentation

◆ statusChangeCallbackNative()

static void opcua::services::detail::SubscriptionContext::statusChangeCallbackNative ( UA_Client * client,
uint32_t subId,
void * subContext,
UA_StatusChangeNotification * notification )
inlinestaticnoexcept

Definition at line 22 of file subscription_context.hpp.

◆ deleteCallbackNative()

static void opcua::services::detail::SubscriptionContext::deleteCallbackNative ( UA_Client * client,
uint32_t subId,
void * subContext )
inlinestaticnoexcept

Definition at line 38 of file subscription_context.hpp.

Member Data Documentation

◆ stale

bool opcua::services::detail::SubscriptionContext::stale {false}

Definition at line 18 of file subscription_context.hpp.

◆ statusChangeCallback

std::function<void(uint32_t subId, StatusChangeNotification&)> opcua::services::detail::SubscriptionContext::statusChangeCallback

Definition at line 19 of file subscription_context.hpp.

◆ deleteCallback

std::function<void(uint32_t subId)> opcua::services::detail::SubscriptionContext::deleteCallback

Definition at line 20 of file subscription_context.hpp.