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