subscriptions.h
Go to the documentation of this file.
1 
11 #ifndef __OPC_UA_Client_SUBSCRIPTIONS_H
12 #define __OPC_UA_Client_SUBSCRIPTIONS_H
13 
14 #include <opc/common/interface.h>
17 
18 #include <functional>
19 
20 namespace OpcUa
21 {
22 
24 {
25 public:
27 
28 public:
29  virtual SubscriptionData CreateSubscription(const CreateSubscriptionRequest &, std::function<void (PublishResult)> callbackPublish) = 0;
31  virtual std::vector<StatusCode> DeleteSubscriptions(const std::vector<uint32_t> & subscriptions) = 0;
32  virtual void Publish(const PublishRequest & request) = 0;
33  virtual RepublishResponse Republish(const RepublishParameters & params) = 0;
34 
35  //FIXME: Spec says MonitoredItems methods should be in their own service
36  virtual std::vector<MonitoredItemCreateResult> CreateMonitoredItems(const MonitoredItemsParameters & parameters) = 0;
37  virtual std::vector<StatusCode> DeleteMonitoredItems(const DeleteMonitoredItemsParameters & params) = 0;
38 };
39 
40 }
41 
42 #endif // __OPC_UA_Client_SUBSCRIPTIONS_H
virtual std::vector< MonitoredItemCreateResult > CreateMonitoredItems(const MonitoredItemsParameters &parameters)=0
virtual SubscriptionData CreateSubscription(const CreateSubscriptionRequest &, std::function< void(PublishResult)> callbackPublish)=0
virtual std::vector< StatusCode > DeleteSubscriptions(const std::vector< uint32_t > &subscriptions)=0
virtual ModifySubscriptionResponse ModifySubscription(const ModifySubscriptionParameters &parameters)=0
virtual void Publish(const PublishRequest &request)=0
OPC UA Address space part. GNU LGPL.
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
virtual std::vector< StatusCode > DeleteMonitoredItems(const DeleteMonitoredItemsParameters &params)=0
virtual RepublishResponse Republish(const RepublishParameters &params)=0


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08