SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
PluginMessenger.hh
Go to the documentation of this file.
1 
7 #ifndef SLIC_PLUGINMESSENGER_HH_
8 #define SLIC_PLUGINMESSENGER_HH_
9 
10 // Geant4
11 #include "G4UImessenger.hh"
12 
13 // LDMX
14 #include "PluginManager.hh"
15 
16 namespace slic {
17 
22 class PluginMessenger: public G4UImessenger {
23 
24  public:
25 
31 
35  virtual ~PluginMessenger();
36 
42  void SetNewValue(G4UIcommand* command, G4String newValues);
43 
44  private:
45 
50 
54  G4UIdirectory* pluginDir_;
55 
59  G4UIcommand* loadCmd_;
60 
64  G4UIcommand* destroyCmd_;
65 
69  G4UIcommand* listCmd_;
70 };
71 
72 }
73 
74 #endif
Manages user sim plugins.
Messenger class for loading and destroying user sim plugins using macro commands.
PluginMessenger(PluginManager *mgr)
G4UIdirectory * pluginDir_
void SetNewValue(G4UIcommand *command, G4String newValues)
PluginManager * pluginManager_
G4UIcommand * destroyCmd_