dynamic_library.h
Go to the documentation of this file.
1 
11 
12 #ifndef __opc_common_dynamic_library_h
13 #define __opc_common_dynamic_library_h
14 
15 #include <string>
16 
17 namespace Common
18 {
19 
21 {
22 public:
23  DynamicLibrary(const std::string & libraryPath);
25 
26  template <typename FuncType>
27  FuncType Find(const std::string & funcName)
28  {
29  return reinterpret_cast<FuncType>(FindSymbol(funcName));
30  }
31 
32 private:
33  void * FindSymbol(const std::string & funcName);
34 
35 private:
37  void * Library;
38 };
39 
40 }
41 
42 #endif // __opc_common_dynamic_library_h
43 
Addon interface definition GNU LGPL.
const std::string Path
void * FindSymbol(const std::string &funcName)
FuncType Find(const std::string &funcName)
DynamicLibrary(const std::string &libraryPath)


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