]>
Commit | Line | Data |
---|---|---|
2817d3e2 | 1 | // $Id$ |
2 | // Category: run | |
3 | // | |
4 | // Messenger class that defines commands for | |
5 | // geometry, physics and step managers | |
6 | ||
7 | #ifndef TG4_MESSENGER_H | |
8 | #define TG4_MESSENGER_H | |
9 | ||
10 | #include <G4UImessenger.hh> | |
11 | #include <globals.hh> | |
12 | ||
13 | class TG4GeometryManager; | |
14 | class TG4PhysicsManager; | |
15 | class TG4StepManager; | |
16 | ||
17 | class G4UIcmdWithoutParameter; | |
18 | ||
19 | class TG4Messenger: public G4UImessenger | |
20 | { | |
21 | public: | |
22 | TG4Messenger(TG4GeometryManager* geometryManager, | |
23 | TG4PhysicsManager* physicsManager, TG4StepManager* stepManager); | |
24 | // --> protected | |
25 | // TG4Messenger(); | |
26 | // TG4Messenger(const TG4Messenger& right); | |
27 | virtual ~TG4Messenger(); | |
28 | ||
29 | // methods | |
30 | virtual void SetNewValue(G4UIcommand* command, G4String string); | |
31 | ||
32 | protected: | |
33 | TG4Messenger(); | |
34 | TG4Messenger(const TG4Messenger& right); | |
35 | ||
36 | // operators | |
37 | TG4Messenger& operator=(const TG4Messenger& right); | |
38 | ||
39 | private: | |
40 | // data members | |
41 | TG4GeometryManager* fGeometryManager; //geometry manager | |
42 | TG4PhysicsManager* fPhysicsManager; //physics manager | |
43 | TG4StepManager* fStepManager; //step manager | |
44 | G4UIcmdWithoutParameter* fProcessActivationCmd; //command | |
45 | //setProcessActivation | |
46 | }; | |
47 | ||
48 | #endif //TG4_MESSENGER_H |