4 // Messenger class that defines commands for AliModulesComposition.
6 #ifndef ALI_MODULES_COMPOSITION_MESSENGER_H
7 #define ALI_MODULES_COMPOSITION_MESSENGER_H
9 #include <G4UImessenger.hh>
12 class AliModulesComposition;
16 class G4UIcmdWithAString;
17 class G4UIcmdWithoutParameter;
18 class G4UIcmdWithABool;
19 class G4UIcmdWithADoubleAndUnit;
21 class AliModulesCompositionMessenger: public G4UImessenger
24 AliModulesCompositionMessenger(AliModulesComposition* modulesComposition);
26 // AliModulesCompositionMessenger();
27 // AliModulesCompositionMessenger(
28 // const AliModulesCompositionMessenger& right);
29 virtual ~AliModulesCompositionMessenger();
32 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
36 AliModulesCompositionMessenger();
37 AliModulesCompositionMessenger(
38 const AliModulesCompositionMessenger& right);
41 AliModulesCompositionMessenger& operator=(
42 const AliModulesCompositionMessenger &right);
45 AliModulesComposition* fModulesComposition; //associated class
46 G4UIdirectory* fDirectory; //command directory
48 // commands data members
49 G4UIcmdWithAString* fSwitchOnCmd; //command: switchOn
50 G4UIcmdWithAString* fSwitchOffCmd; //command: switchOn
51 G4UIcmdWithoutParameter* fListCmd; //command: list
52 G4UIcmdWithoutParameter* fListAvailableCmd; //command: listAvailable
53 G4UIcmdWithADoubleAndUnit* fFieldValueCmd; //command: fieldValue
54 G4UIcmdWithABool* fSetAllSensitiveCmd; //command: setAllSensitive
55 G4UIcmdWithABool* fForceAllSensitiveCmd;//command: forceAllSensitive
56 G4UIcmdWithABool* fSetReadGeometryCmd; //command: readGeometry
57 G4UIcmdWithABool* fSetWriteGeometryCmd; //command: writeGeometry
58 G4UIcmdWithoutParameter* fPrintMaterialsCmd; //command: printMatrials
59 G4UIcmdWithoutParameter* fGenerateXMLCmd; //command: generateXML
62 #endif //ALI_MODULES_COMPOSITION_MESSENGER_H