GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs 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 #include "G4UImessenger.hh"
17 #include "G4VUserPhysicsList.hh"
18 
25 
26 public:
32 
35 
44  bool LoadPlugin(const std::string &libName);
45 
53  G4VUserPhysicsList *LoadPhysicsListPlugin(const std::string &libName);
54 
55 private:
57 
58  std::vector<void *> _files; // Opaque handles to the opened files
59 };
60 
61 #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.