GGS(GenericGEANT4Simulation)Software  2.6.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 
17 #include "G4UImessenger.hh"
18 #include "G4VUserPhysicsList.hh"
19 
26 
27 public:
28 
34 
37 
46  bool LoadPlugin(const std::string& libName);
47 
55  G4VUserPhysicsList *LoadPhysicsListPlugin(const std::string& libName);
56 
57 private:
58 
60  }
61 
62  std::vector<void*> _files; // Opaque handles to the opened files
63 };
64 
65 #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.