4 // Author: I. Hrivnacova
6 // Class AliModulesCompositionMessenger
7 // ------------------------------------
8 // Messenger class that defines commands for AliModulesComposition.
10 #ifndef ALI_MODULES_COMPOSITION_MESSENGER_H
11 #define ALI_MODULES_COMPOSITION_MESSENGER_H
13 #include <G4UImessenger.hh>
16 class AliModulesComposition;
20 class G4UIcmdWithoutParameter;
21 class G4UIcmdWithABool;
22 class G4UIcmdWithADoubleAndUnit;
24 class AliModulesCompositionMessenger: public G4UImessenger
27 AliModulesCompositionMessenger(AliModulesComposition* modulesComposition);
29 // AliModulesCompositionMessenger();
30 // AliModulesCompositionMessenger(
31 // const AliModulesCompositionMessenger& right);
32 virtual ~AliModulesCompositionMessenger();
35 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
38 AliModulesCompositionMessenger();
39 AliModulesCompositionMessenger(
40 const AliModulesCompositionMessenger& right);
43 AliModulesCompositionMessenger& operator=(
44 const AliModulesCompositionMessenger &right);
47 AliModulesComposition* fModulesComposition; //associated class
48 G4UIdirectory* fDirectory; //command directory
50 // commands data members
51 G4UIcmdWithADoubleAndUnit* fFieldValueCmd; //command: fieldValue
52 G4UIcmdWithABool* fSetReadGeometryCmd; //command: readGeometry
53 G4UIcmdWithABool* fSetWriteGeometryCmd; //command: writeGeometry
54 G4UIcmdWithoutParameter* fPrintMaterialsCmd; //command: printMatrials
55 G4UIcmdWithoutParameter* fGenerateXMLCmd; //command: generateXML
58 #endif //ALI_MODULES_COMPOSITION_MESSENGER_H