GGS(GenericGEANT4Simulation)Software  2.99.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Macros
GGSMCPluginManager.h
Go to the documentation of this file.
1 /*
2  * GGSMCPluginManager.h
3  *
4  * Created on: 07 Aug 2013
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSMCPLUGINMANAGER_H_
11 #define GGSMCPLUGINMANAGER_H_
12 
13 #include <string>
14 #include <vector>
15 
16 class G4VUserPhysicsList;
17 
24 
25 public:
31 
34 
43  bool LoadPlugin(const std::string &libName);
44 
52  G4VUserPhysicsList *LoadPhysicsListPlugin(const std::string &libName);
53 
54 private:
56 
57  std::vector<void *> _files; // Opaque handles to the opened files
58 };
59 
60 #endif /* GGSMCPLUGINMANAGER_H_ */
static GGSMCPluginManager & GetInstance()
Get the singleton instance.
bool LoadPlugin(const std::string &libName)
Loads a plugin library.
~GGSMCPluginManager()
Destructor.
Manager for MC plugins.
G4VUserPhysicsList * LoadPhysicsListPlugin(const std::string &libName)
Loads a physics list plugin library.