Belle II Software  release-05-02-19
DynamicLoader.h
1 #ifndef _Belle2_DynamicLoader_h
2 #define _Belle2_DynamicLoader_h
3 
4 #include <string>
5 
6 namespace Belle2 {
12  class DynamicLoader {
13 
14  public:
15  DynamicLoader() {}
16  DynamicLoader(const std::string& path)
17  {
18  open(path);
19  }
20  ~DynamicLoader();
21 
22  public:
23  void* open(const std::string& lib_path);
24  void* load(const std::string& func_name);
25  void close();
26 
27  private:
28  void* m_handle;
29 
30  };
31 
33 }
34 
35 #endif
Belle2::DynamicLoader
Definition: DynamicLoader.h:12
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19