]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: geometry | |
3 | // | |
7005154f | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class AliModulesCompositionMessenger | |
7 | // ------------------------------------ | |
676fb573 | 8 | // Messenger class that defines commands for AliModulesComposition. |
9 | ||
10 | #ifndef ALI_MODULES_COMPOSITION_MESSENGER_H | |
11 | #define ALI_MODULES_COMPOSITION_MESSENGER_H | |
12 | ||
13 | #include <G4UImessenger.hh> | |
14 | #include <globals.hh> | |
15 | ||
16 | class AliModulesComposition; | |
17 | ||
18 | class G4UIcommand; | |
19 | class G4UIdirectory; | |
676fb573 | 20 | class G4UIcmdWithoutParameter; |
21 | class G4UIcmdWithABool; | |
22 | class G4UIcmdWithADoubleAndUnit; | |
23 | ||
24 | class AliModulesCompositionMessenger: public G4UImessenger | |
25 | { | |
26 | public: | |
27 | AliModulesCompositionMessenger(AliModulesComposition* modulesComposition); | |
28 | // --> protected | |
29 | // AliModulesCompositionMessenger(); | |
30 | // AliModulesCompositionMessenger( | |
31 | // const AliModulesCompositionMessenger& right); | |
32 | virtual ~AliModulesCompositionMessenger(); | |
33 | ||
34 | // methods | |
35 | virtual void SetNewValue(G4UIcommand* command, G4String newValues); | |
676fb573 | 36 | |
37 | protected: | |
38 | AliModulesCompositionMessenger(); | |
39 | AliModulesCompositionMessenger( | |
40 | const AliModulesCompositionMessenger& right); | |
41 | ||
42 | // operators | |
43 | AliModulesCompositionMessenger& operator=( | |
44 | const AliModulesCompositionMessenger &right); | |
45 | ||
46 | private: | |
47 | AliModulesComposition* fModulesComposition; //associated class | |
48 | G4UIdirectory* fDirectory; //command directory | |
49 | ||
50 | // commands data members | |
676fb573 | 51 | G4UIcmdWithADoubleAndUnit* fFieldValueCmd; //command: fieldValue |
676fb573 | 52 | G4UIcmdWithABool* fSetReadGeometryCmd; //command: readGeometry |
53 | G4UIcmdWithABool* fSetWriteGeometryCmd; //command: writeGeometry | |
9225847a | 54 | G4UIcmdWithoutParameter* fPrintMaterialsCmd; //command: printMatrials |
55 | G4UIcmdWithoutParameter* fGenerateXMLCmd; //command: generateXML | |
676fb573 | 56 | }; |
57 | ||
58 | #endif //ALI_MODULES_COMPOSITION_MESSENGER_H | |
59 |