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