4 // Messenger class that defines commands for TG4RunManager
6 #ifndef TG4_RUN_MESSENGER_H
7 #define TG4_RUN_MESSENGER_H
9 #include <G4UImessenger.hh>
13 class TG4UICmdWithAComplexString;
16 class G4UIcmdWithoutParameter;
17 class G4UIcmdWithAString;
19 class TG4RunMessenger: public G4UImessenger
22 TG4RunMessenger(TG4RunManager* runManager);
25 // TG4RunMessenger(const TG4RunMessenger& right);
26 virtual ~TG4RunMessenger();
29 virtual void SetNewValue(G4UIcommand* command, G4String string);
33 TG4RunMessenger(const TG4RunMessenger& right);
36 TG4RunMessenger& operator=(const TG4RunMessenger& right);
40 TG4RunManager* fRunManager; //associated class
41 G4UIdirectory* fDirectory; //command directory
43 G4UIcmdWithoutParameter* fRootCmd; //command: root
44 G4UIcmdWithAString* fRootMacroCmd; //command: rootMacro
45 TG4UICmdWithAComplexString* fRootCommandCmd; //command: rootCmd
46 G4UIcmdWithoutParameter* fG3DefaultsCmd; //command: g3Defaults
49 #endif //TG4_RUN_MESSENGER_H