xml_address_space_loader.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 
18 
19 
20 namespace OpcUa
21 {
22 namespace Internal
23 {
24 
26 {
27 public:
29 
30 public:
32 
33  void Load(const char * fileName);
34 
35  void Load(const std::string & fileName)
36  {
37  Load(fileName.c_str());
38  }
39 
40 private:
42  const bool Debug;
43 };
44 
45 
47 {
48 public:
50 
51 public:
52  virtual void Initialize(Common::AddonsManager & addons, const Common::AddonParameters & params);
53  virtual void Stop();
54 
55  virtual void Load(const char * path);
56 
57 private:
58  void Load(const char * file, OpcUa::NodeManagementServices & registry);
59 
60 private:
61  NodeManagementServices::SharedPtr Registry;
62 };
63 
64 
66 {
67 public:
69 
70 public:
71  virtual Common::Addon::UniquePtr CreateAddon()
72  {
73  return Common::Addon::UniquePtr(new XmlAddressSpaceAddon());
74  }
75 };
76 
77 const char XmlAddressSpaceAddonId[] = "xml_address_space_loader";
78 
79 } // namespace Internal
80 } // namespace OpcUa
81 
NodeManagementServices::SharedPtr Registry
void Load(const std::string &fileName)
registry_t< std::mutex > registry
Definition: registry.h:211
virtual Common::Addon::UniquePtr CreateAddon()
Create instance of addon.
XmlAddressSpaceLoader(OpcUa::NodeManagementServices &registry, bool debug=false)
OPC UA Address space part. GNU LGPL.
const char XmlAddressSpaceAddonId[]
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
OpcUa::NodeManagementServices & Registry


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