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