31 #define G4UImanager_h 1
89 void Loop(
const char * macroFile,
const char * variableName,
92 void Foreach(
const char * macroFile,
const char * variableName,
93 const char * candidates);
106 void StoreHistory(
const char* fileName =
"G4history.macro");
108 const char* fileName =
"G4history.macro");
114 void SetAlias(
const char * aliasLine);
132 void LoopS(
const char* valueList);
133 void ForeachS(
const char* valueList);
180 const char * aParameterName,
G4bool reGet=
true);
182 const char * aParameterName,
G4bool reGet=
true);
184 const char * aParameterName,
G4bool reGet=
true);
267 bridges =
new std::vector<G4UIbridge*>;
G4bool pauseAtBeginOfEvent
G4UIcommandTree * GetTree() const
std::vector< G4UIbridge * > * bridges
void RemoveAlias(const char *aliasName)
static G4bool DoublePrecisionStr()
void CreateHTML(const char *dir="/")
std::vector< G4String > * GetCommandStack()
std::vector< G4String > searchDirs
void SetMaxHistSize(G4int mx)
G4UIcommandTree * FindDirectory(const char *dirName)
void AddNewCommand(G4UIcommand *newCommand)
void StoreHistory(const char *fileName="G4history.macro")
G4MTcoutDestination * GetThreadCout()
G4int ApplyCommand(const char *aCommand)
G4int operator==(const G4UImanager &right) const
G4UIsession * GetG4UIWindow() const
G4String FindMacroPath(const G4String &fname) const
void AddWorkerCommand(G4UIcommand *newCommand)
std::ofstream historyFile
void RemoveCommand(G4UIcommand *aCommand)
G4int operator!=(const G4UImanager &right) const
void SetMacroSearchPath(const G4String &path)
const G4UImanager & operator=(const G4UImanager &right)
void SetVerboseLevel(G4int val)
static G4UImanager * GetUIpointer()
G4String GetPreviousCommand(G4int i) const
static G4ICOMS_DLL G4UImanager *& fMasterUImanager()
void SetPauseAtBeginOfEvent(G4bool vl)
G4UIsession * GetSession() const
static G4UImanager * GetMasterUIpointer()
G4String SolveAlias(const char *aCmd)
G4int GetMaxHistSize() const
void SetThreadIgnoreInit(G4bool flg=true)
G4bool GetPauseAtEndOfEvent() const
G4String GetCurrentValues(const char *aCommand)
static G4ICOMS_DLL G4int igThreadID
const XML_Char int const XML_Char * value
void SetIgnoreCmdNotFound(G4bool val)
void RegisterBridge(G4UIbridge *brg)
G4MTcoutDestination * threadCout
void RemoveWorkerCommand(G4UIcommand *aCommand)
const G4String & GetMacroSearchPath() const
virtual G4bool Notify(G4ApplicationState requestedState)
void SetAlias(const char *aliasLine)
G4UIcontrolMessenger * UImessenger
G4UIaliasList * aliasList
void SetCerrFileName(const G4String &fileN="G4cerr.txt", G4bool ifAppend=true)
void SetUpForSpecialThread(G4String aPrefix)
void SetG4UIWindow(G4UIsession *const value)
void PauseSession(const char *msg)
G4bool GetPauseAtBeginOfEvent() const
void SetPauseAtEndOfEvent(G4bool vl)
void Loop(const char *macroFile, const char *variableName, G4double initialValue, G4double finalValue, G4double stepSize=1.0)
void SetCoutFileName(const G4String &fileN="G4cout.txt", G4bool ifAppend=true)
void SetThreadPrefixString(const G4String &s="W")
static G4ICOMS_DLL G4bool & fUImanagerHasBeenKilled()
void SetThreadIgnore(G4int tid=0)
void SetCoutDestination(G4UIsession *const value)
G4double GetCurrentDoubleValue(const char *aCommand, G4int parameterNumber=1, G4bool reGet=true)
static G4ICOMS_DLL G4UImanager *& fUImanager()
void ListCommands(const char *direc)
std::vector< G4String > * commandStack
G4UIcommandTree * treeTop
G4int GetCurrentIntValue(const char *aCommand, G4int parameterNumber=1, G4bool reGet=true)
G4UIcommand * savedCommand
G4int GetVerboseLevel() const
void ParseMacroSearchPath()
static G4ICOMS_DLL G4bool doublePrecisionStr
void ForeachS(const char *valueList)
G4int GetThreadID() const
std::vector< G4String > histVec
G4LocalThreadCoutMessenger * CoutMessenger
void SetUpForAThread(G4int tId)
void SetThreadUseBuffer(G4bool flg=true)
G4int GetNumberOfHistory() const
static void UseDoublePrecisionStr(G4bool val)
G4bool stackCommandsForBroadcast
void ExecuteMacroFile(const char *fileName)
G4UnitsMessenger * UnitsMessenger
void SetMasterUIManager(G4bool val)
void LoopS(const char *valueList)
void Foreach(const char *macroFile, const char *variableName, const char *candidates)
G4String GetCurrentStringValue(const char *aCommand, G4int parameterNumber=1, G4bool reGet=true)
void SetSession(G4UIsession *const value)