]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: run | |
3 | // | |
4 | // Messenger class that defines commands for AliRunAction. | |
5 | ||
6 | #ifndef ALI_RUN_ACTION_MESSENGER_H | |
7 | #define ALI_RUN_ACTION_MESSENGER_H | |
8 | ||
9 | #include <G4UImessenger.hh> | |
10 | #include <globals.hh> | |
11 | ||
12 | class AliRunAction; | |
13 | ||
14 | class G4UIdirectory; | |
15 | class G4UIcmdWithAnInteger; | |
16 | ||
17 | class AliRunActionMessenger: public G4UImessenger | |
18 | { | |
19 | public: | |
20 | AliRunActionMessenger(AliRunAction* eventAction); | |
21 | // --> protected | |
22 | // AliRunActionMessenger(); | |
23 | // AliRunActionMessenger(const AliRunActionMessenger& right); | |
24 | virtual ~AliRunActionMessenger(); | |
25 | ||
26 | // methods | |
27 | virtual void SetNewValue(G4UIcommand* command, G4String string); | |
28 | ||
29 | protected: | |
30 | AliRunActionMessenger(); | |
31 | AliRunActionMessenger(const AliRunActionMessenger& right); | |
32 | ||
33 | // operators | |
34 | AliRunActionMessenger& operator=( | |
35 | const AliRunActionMessenger& right); | |
36 | ||
37 | private: | |
38 | // data members | |
39 | AliRunAction* fRunAction; //associated class | |
40 | G4UIdirectory* fRunActionDirectory; //command directory | |
41 | G4UIcmdWithAnInteger* fVerboseCmd; //command: verbose | |
42 | }; | |
43 | ||
44 | #endif //ALI_RUN_ACTION_MESSENGER_H |