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