open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
subscription.hpp File Reference
#include <cstdint>
#include <functional>
#include "open62541pp/config.hpp"
#include "open62541pp/result.hpp"
#include "open62541pp/types_composed.hpp"
Include dependency graph for subscription.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opcua::services::SubscriptionParameters
 

Namespaces

namespace  opcua
 
namespace  opcua::services
 

Typedefs

using opcua::services::DeleteSubscriptionCallback = std::function<void(uint32_t subId)>
 
using opcua::services::StatusChangeNotificationCallback
 

Functions

CreateSubscriptionResponse opcua::services::createSubscription (Client &connection, const CreateSubscriptionRequest &request, StatusChangeNotificationCallback statusChangeCallback={}, DeleteSubscriptionCallback deleteCallback={})
 
Result< uint32_t > opcua::services::createSubscription (Client &connection, SubscriptionParameters &parameters, bool publishingEnabled=true, StatusChangeNotificationCallback statusChangeCallback={}, DeleteSubscriptionCallback deleteCallback={}) noexcept
 
ModifySubscriptionResponse opcua::services::modifySubscription (Client &connection, const ModifySubscriptionRequest &request) noexcept
 
Result< void > opcua::services::modifySubscription (Client &connection, uint32_t subscriptionId, SubscriptionParameters &parameters) noexcept
 
SetPublishingModeResponse opcua::services::setPublishingMode (Client &connection, const SetPublishingModeRequest &request) noexcept
 
Result< void > opcua::services::setPublishingMode (Client &connection, uint32_t subscriptionId, bool publishing) noexcept
 
DeleteSubscriptionsResponse opcua::services::deleteSubscriptions (Client &connection, const DeleteSubscriptionsRequest &request) noexcept
 
Result< void > opcua::services::deleteSubscription (Client &connection, uint32_t subscriptionId) noexcept