common/addons_core/addon.h
Go to the documentation of this file.
1 
11 #ifndef __COMMON_ADDON_H__
12 #define __COMMON_ADDON_H__
13 
17 #include <opc/common/interface.h>
18 
19 namespace Common
20 {
21 
22 class Addon : private Common::Interface
23 {
24 public:
26 
27 public:
31  virtual void Initialize(AddonsManager & manager, const AddonParameters & parameters) = 0;
32 
35  virtual void Stop() = 0;
36 };
37 
38 // @brief factory of addon.
40 {
41 public:
43 
44 public:
46  virtual Addon::UniquePtr CreateAddon() = 0;
47 };
48 
49 } // namespace Common
50 
51 #endif // __COMMON_ADDON_H__
52 
Common::Addon * CreateAddon()
Addon interface definition GNU LGPL.
Addon interface definition GNU LGPL.
virtual void Stop()=0
Stopping addon work. After calling this method addon should throw exception on any calls...
virtual void Initialize(AddonsManager &manager, const AddonParameters &parameters)=0
initialize addon.
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.


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