services.h
Go to the documentation of this file.
1 
11 #pragma once
12 
18 #include <opc/ua/services/method.h>
21 #include <opc/ua/services/view.h>
22 
24 
25 #include <memory>
26 #include <vector>
27 
28 #include <boost/version.hpp>
29 
30 
31 namespace boost
32 {
33 namespace asio
34 {
35 #if BOOST_VERSION < 106600
36  class io_service;
37 #else
38  class io_context;
39  typedef io_context io_service;
40 #endif
41 }
42 }
43 
44 namespace OpcUa
45 {
46 
48 {
50  std::vector<uint8_t> ClientCertificate;
55 };
56 
57 class Services : private Common::Interface
58 {
59 public:
61 
62 public:
63  virtual OpenSecureChannelResponse OpenSecureChannel(const OpenSecureChannelParameters & parameters) = 0;
64  virtual void CloseSecureChannel(uint32_t channelId) = 0;
65  virtual CreateSessionResponse CreateSession(const RemoteSessionParameters & parameters) = 0;
66  virtual ActivateSessionResponse ActivateSession(const ActivateSessionParameters & session_parameters) = 0;
67  virtual CloseSessionResponse CloseSession() = 0;
68  virtual void AbortSession() = 0;
69  virtual DeleteNodesResponse DeleteNodes(const std::vector<OpcUa::DeleteNodesItem> & nodesToDelete) = 0;
70 
71  virtual AttributeServices::SharedPtr Attributes() = 0;
72  virtual EndpointServices::SharedPtr Endpoints() = 0;
73  virtual MethodServices::SharedPtr Method() = 0;
74  virtual NodeManagementServices::SharedPtr NodeManagement() = 0;
75  virtual SubscriptionServices::SharedPtr Subscriptions() = 0;
76  virtual ViewServices::SharedPtr Views() = 0;
77 };
78 
79 }
Opc Ua computer interface. GNU LGPL.
void CloseSession(OpcUa::Binary::IOStream &stream, const OpcUa::Binary::CreateSessionResponse &session)
ApplicationDescription ClientDescription
Definition: services.h:49
double Duration
Definition: datetime.h:53
std::vector< uint8_t > ClientCertificate
Definition: services.h:50
OpcUa::Binary::CreateSessionResponse CreateSession(OpcUa::Binary::IOStream &stream)
OPC UA Address space part. GNU LGPL.
void ActivateSession(OpcUa::Binary::IOStream &stream, const OpcUa::Binary::CreateSessionResponse &session)
const char Views[]
Definition: strings.h:208
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
#define Method


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