]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4RunMessenger.h
added tcsh UI
[u/mrichter/AliRoot.git] / TGeant4 / TG4RunMessenger.h
1 // $Id$
2 // Category: run
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class TG4RunMessenger
7 // ---------------------
8 // Messenger class that defines commands for TG4RunManager
9
10 #ifndef TG4_RUN_MESSENGER_H
11 #define TG4_RUN_MESSENGER_H 
12
13 #include <G4UImessenger.hh>
14 #include <globals.hh>
15
16 class TG4RunManager;
17 class TG4UICmdWithAComplexString;
18
19 class G4UIdirectory;
20 class G4UIcmdWithoutParameter;
21 class G4UIcmdWithAString;
22
23 class TG4RunMessenger: public G4UImessenger
24 {
25   public:
26     TG4RunMessenger(TG4RunManager* runManager);
27     // protected
28     // TG4RunMessenger();
29     // TG4RunMessenger(const TG4RunMessenger& right);
30     virtual ~TG4RunMessenger();
31    
32     // methods 
33     virtual void SetNewValue(G4UIcommand* command, G4String string);
34     
35   protected:
36     TG4RunMessenger();  
37     TG4RunMessenger(const TG4RunMessenger& right);
38
39     // operators
40     TG4RunMessenger& operator=(const TG4RunMessenger& right);
41
42   private:
43     // data members
44     TG4RunManager*  fRunManager; //associated class   
45     G4UIdirectory*  fDirectory;  //command directory
46
47     G4UIcmdWithoutParameter*    fRootCmd;        //command: root
48     G4UIcmdWithAString*         fRootMacroCmd;   //command: rootMacro 
49     TG4UICmdWithAComplexString* fRootCommandCmd; //command: rootCmd 
50     G4UIcmdWithoutParameter*    fG3DefaultsCmd;  //command: g3Defaults   
51 };
52
53 #endif //TG4_RUN_MESSENGER_H