]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliRunMessenger.h
Updated class description: added class title, author;
[u/mrichter/AliRoot.git] / AliGeant4 / AliRunMessenger.h
1 // $Id$
2 // Category: run
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class AliRunMessenger
7 // ---------------------
8 // Messenger class that defines commands for AliRun.
9
10 #ifndef ALI_RUN_MESSENGER_H
11 #define ALI_RUN_MESSENGER_H 
12
13 #include <G4UImessenger.hh>
14 #include <globals.hh>
15
16 class G4UIdirectory;
17 class G4UIcmdWithoutParameter;
18 class G4UIcmdWithAnInteger;
19 class G4UIcmdWithAString;
20
21 class AliRunMessenger: public G4UImessenger
22 {
23   public:
24     AliRunMessenger();
25     // --> protected
26     // AliRunMessenger(const AliRunMessenger& right);
27     virtual ~AliRunMessenger();
28    
29     // methods 
30     virtual void SetNewValue(G4UIcommand* command, G4String string);
31     
32   protected:
33     AliRunMessenger(const AliRunMessenger& right);
34
35     // operators
36     AliRunMessenger& operator=(const AliRunMessenger& right);
37
38   private:
39     // data members
40     G4UIdirectory*            fRunDirectory;  //command directory
41     G4UIcmdWithAString*       fConfigCmd;     //command: setConfig
42     G4UIcmdWithoutParameter*  fInitializeCmd; //command: initialize
43     G4UIcmdWithAnInteger*     fBeamOnCmd;     //command: beamOn
44     G4UIcmdWithoutParameter*  fLegoCmd;       //command: lego
45 };
46
47 #endif //ALI_RUN_MESSENGER_H