SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
SlicApplicationMessenger.hh
Go to the documentation of this file.
1 #ifndef SLIC_SLICAPPLICATIONMESSENGER_HH_
2 #define SLIC_SLICAPPLICATIONMESSENGER_HH_ 1
3 
4 // Geant4
5 #include "G4UImessenger.hh"
6 #include "G4UIdirectory.hh"
7 #include "G4UIcommand.hh"
8 
9 namespace slic {
10 
11 class SlicApplication;
12 
17 class SlicApplicationMessenger: public G4UImessenger {
18  public:
19 
25 
29  virtual ~SlicApplicationMessenger();
30 
31  public:
32 
38  virtual void SetNewValue(G4UIcommand* cmd, G4String newVals);
39 
40  private:
41 
45  void defineCommands();
46 
47  private:
48 
50 
51  G4UIdirectory* m_slicDir;
52 
53  G4UIcommand* m_interactive;
54  G4UIcommand* m_slicUsage;
55  G4UIcommand* m_slicVersion;
56  G4UIcommand* m_quietMode;
57 };
58 }
59 
60 #endif
G4UImessenger for the SLIC application.
virtual void SetNewValue(G4UIcommand *cmd, G4String newVals)
SlicApplicationMessenger(SlicApplication *app)
Singleton class for a Geant4 application.