30 #ifndef G4UImessenger_h
31 #define G4UImessenger_h 1
52 G4bool commandsToBeBroadcasted =
true);
88 G4bool commandsToBeBroadcasted=
true);
103 if( cname(0) !=
'/' ) {
105 if (path(0) !=
'/') path =
"/" + path;
108 T* command =
new T(path.c_str(),
this);
109 command-> SetGuidance(dsc.c_str());
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
G4bool CommandsShouldBeInMaster() const
void CreateDirectory(const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
G4bool operator==(const G4UImessenger &messenger) const
G4String DtoS(G4double a)
void AddUIcommand(G4UIcommand *newCommand)
G4double StoD(G4String s)
G4bool commandsShouldBeInMaster
T * CreateCommand(const G4String &cname, const G4String &dsc)