]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: geometry | |
3 | // | |
4 | // Messenger class that defines commands for AliDetConstruction. | |
5 | ||
6 | #ifndef ALI_DET_CONSTRUCTION_MESSENGER_H | |
7 | #define ALI_DET_CONSTRUCTION_MESSENGER_H | |
8 | ||
9 | #include <G4UImessenger.hh> | |
10 | #include <globals.hh> | |
11 | ||
12 | class AliDetConstruction; | |
13 | ||
14 | class G4UIcommand; | |
15 | class G4UIcmdWithABool; | |
16 | ||
17 | class AliDetConstructionMessenger: public G4UImessenger | |
18 | { | |
19 | public: | |
20 | AliDetConstructionMessenger(AliDetConstruction* detConstruction); | |
21 | // --> protected | |
22 | // AliDetConstructionMessenger(); | |
23 | // AliDetConstructionMessenger(const AliDetConstructionMessenger& right); | |
24 | virtual ~AliDetConstructionMessenger(); | |
25 | ||
26 | // methods | |
27 | virtual void SetNewValue(G4UIcommand* command, G4String newValues); | |
28 | ||
29 | protected: | |
30 | AliDetConstructionMessenger(); | |
31 | AliDetConstructionMessenger(const AliDetConstructionMessenger& right); | |
32 | ||
33 | // operators | |
34 | AliDetConstructionMessenger& operator=( | |
35 | const AliDetConstructionMessenger& right); | |
36 | ||
37 | private: | |
38 | // data members | |
39 | AliDetConstruction* fDetConstruction; //associated class | |
40 | G4UIcmdWithABool* fSetAllSensitiveCmd; //command: setAllSensitive | |
41 | G4UIcmdWithABool* fSetReadGeometryCmd; //command: setReadGeometry | |
42 | G4UIcmdWithABool* fSetWriteGeometryCmd; //command: setWriteGeometry | |
43 | }; | |
44 | ||
45 | #endif //ALI_DET_CONSTRUCTION_MESSENGER_H | |
46 |