]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliModulesCompositionMessenger.h
for loop variable declaration corrected (required by HP)
[u/mrichter/AliRoot.git] / AliGeant4 / AliModulesCompositionMessenger.h
1 // $Id$
2 // Category: geometry
3 //
4 // Messenger class that defines commands for AliModulesComposition.
5
6 #ifndef ALI_MODULES_COMPOSITION_MESSENGER_H
7 #define ALI_MODULES_COMPOSITION_MESSENGER_H
8
9 #include <G4UImessenger.hh>
10 #include <globals.hh>
11
12 class AliModulesComposition;
13
14 class G4UIcommand;
15 class G4UIdirectory;
16 class G4UIcmdWithAString;
17 class G4UIcmdWithoutParameter;
18 class G4UIcmdWithABool;
19 class G4UIcmdWithADoubleAndUnit;
20
21 class AliModulesCompositionMessenger: public G4UImessenger
22 {
23   public:
24     AliModulesCompositionMessenger(AliModulesComposition* modulesComposition);
25     // --> protected
26     // AliModulesCompositionMessenger();
27     // AliModulesCompositionMessenger(
28     //       const AliModulesCompositionMessenger& right);
29     virtual ~AliModulesCompositionMessenger();
30
31     // methods
32     virtual void SetNewValue(G4UIcommand* command, G4String newValues);
33     void SetCandidates();
34     
35   protected:
36     AliModulesCompositionMessenger();
37     AliModulesCompositionMessenger(
38              const AliModulesCompositionMessenger& right);
39
40     // operators
41     AliModulesCompositionMessenger& operator=(
42              const AliModulesCompositionMessenger &right);
43              
44   private:
45     AliModulesComposition*  fModulesComposition; //associated class
46     G4UIdirectory*          fDirectory;          //command directory
47     
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
60 };
61
62 #endif //ALI_MODULES_COMPOSITION_MESSENGER_H
63