30 #ifndef G4UImessenger_h
31 #define G4UImessenger_h 1
52 G4bool commandsToBeBroadcasted =
true);
88 G4bool commandsToBeBroadcasted=
true);
98 if( cname(0) !=
'/' ) {
100 if (path(0) !=
'/') path =
"/" + path;
103 T* command =
new T(path.c_str(),
this);
104 command-> SetGuidance(dsc.c_str());
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
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)
T * CreateCommand(const G4String &cname, const G4String &dsc)