GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSGeoPluginManager.h
Go to the documentation of this file.
1 /*
2  * GGSGeoPluginManager.h
3  *
4  * Created on: 10 Jan 2012
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSGEOPLUGINMANAGER_H_
11 #define GGSGEOPLUGINMANAGER_H_
12 
13 // C++ headers
14 #include <string>
15 
16 // GGS headers
18 
19 
20 
31 
32 public:
33 
39 
42 
52  bool LoadGeoPlugin(const std::string& libName);
53 
64  if (_geoConstruction)
65  return _geoConstruction;
66  else
67  return NULL;
68  }
69 
70 private:
71 
73  _ggsLibrary(NULL), _geoConstruction(NULL) {
74  }
75 
76  void *_ggsLibrary;
77  GGSVGeometryConstruction* _geoConstruction;
78 
79 };
80 
81 #endif /* GGSGEOPLUGINMANAGER_H_ */
Abstract class needed to load GGS geometry.
~GGSGeoPluginManager()
Destructor.
static GGSGeoPluginManager & GetInstance()
Get the singleton instance.
Manager for geometry plugin.
bool LoadGeoPlugin(const std::string &libName)
Loads the geometry plugin library.
GGSVGeometryConstruction * GetGeoConstruction()
Returns the geometry construction object.