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