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 G4UIcmdWithAString;
21 class G4UIcmdWithoutParameter;
22 class G4UIcmdWithABool;
23 class G4UIcmdWithADoubleAndUnit;
25 class AliModulesCompositionMessenger: public G4UImessenger
28 AliModulesCompositionMessenger(AliModulesComposition* modulesComposition);
30 // AliModulesCompositionMessenger();
31 // AliModulesCompositionMessenger(
32 // const AliModulesCompositionMessenger& right);
33 virtual ~AliModulesCompositionMessenger();
36 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
40 AliModulesCompositionMessenger();
41 AliModulesCompositionMessenger(
42 const AliModulesCompositionMessenger& right);
45 AliModulesCompositionMessenger& operator=(
46 const AliModulesCompositionMessenger &right);
49 AliModulesComposition* fModulesComposition; //associated class
50 G4UIdirectory* fDirectory; //command directory
52 // commands data members
53 G4UIcmdWithAString* fSwitchOnCmd; //command: switchOn
54 G4UIcmdWithAString* fSwitchOffCmd; //command: switchOn
55 G4UIcmdWithoutParameter* fListCmd; //command: list
56 G4UIcmdWithoutParameter* fListAvailableCmd; //command: listAvailable
57 G4UIcmdWithADoubleAndUnit* fFieldValueCmd; //command: fieldValue
58 G4UIcmdWithABool* fSetReadGeometryCmd; //command: readGeometry
59 G4UIcmdWithABool* fSetWriteGeometryCmd; //command: writeGeometry
60 G4UIcmdWithoutParameter* fPrintMaterialsCmd; //command: printMatrials
61 G4UIcmdWithoutParameter* fGenerateXMLCmd; //command: generateXML
64 #endif //ALI_MODULES_COMPOSITION_MESSENGER_H