Geant4
10.02.p03
|
#include <G4UImanager.hh>
Public Member Functions | |
~G4UImanager () | |
G4String | GetCurrentValues (const char *aCommand) |
void | AddNewCommand (G4UIcommand *newCommand) |
void | RemoveCommand (G4UIcommand *aCommand) |
void | ExecuteMacroFile (const char *fileName) |
void | Loop (const char *macroFile, const char *variableName, G4double initialValue, G4double finalValue, G4double stepSize=1.0) |
void | Foreach (const char *macroFile, const char *variableName, const char *candidates) |
G4int | ApplyCommand (const char *aCommand) |
G4int | ApplyCommand (const G4String &aCommand) |
void | StoreHistory (const char *fileName="G4history.macro") |
void | StoreHistory (G4bool historySwitch, const char *fileName="G4history.macro") |
void | ListCommands (const char *direc) |
void | SetAlias (const char *aliasLine) |
void | RemoveAlias (const char *aliasName) |
void | ListAlias () |
G4String | SolveAlias (const char *aCmd) |
void | CreateHTML (const char *dir="/") |
void | LoopS (const char *valueList) |
void | ForeachS (const char *valueList) |
virtual G4bool | Notify (G4ApplicationState requestedState) |
G4String | GetCurrentStringValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4int | GetCurrentIntValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4double | GetCurrentDoubleValue (const char *aCommand, G4int parameterNumber=1, G4bool reGet=true) |
G4String | GetCurrentStringValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
G4int | GetCurrentIntValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
G4double | GetCurrentDoubleValue (const char *aCommand, const char *aParameterName, G4bool reGet=true) |
void | SetPauseAtBeginOfEvent (G4bool vl) |
G4bool | GetPauseAtBeginOfEvent () const |
void | SetPauseAtEndOfEvent (G4bool vl) |
G4bool | GetPauseAtEndOfEvent () const |
G4UIcommandTree * | GetTree () const |
G4UIsession * | GetSession () const |
G4UIsession * | GetG4UIWindow () const |
void | SetSession (G4UIsession *const value) |
void | SetG4UIWindow (G4UIsession *const value) |
void | SetCoutDestination (G4UIsession *const value) |
void | SetVerboseLevel (G4int val) |
G4int | GetVerboseLevel () const |
G4int | GetNumberOfHistory () const |
G4String | GetPreviousCommand (G4int i) const |
void | SetMaxHistSize (G4int mx) |
G4int | GetMaxHistSize () const |
void | SetMacroSearchPath (const G4String &path) |
const G4String & | GetMacroSearchPath () const |
void | ParseMacroSearchPath () |
G4String | FindMacroPath (const G4String &fname) const |
void | SetMasterUIManager (G4bool val) |
void | SetIgnoreCmdNotFound (G4bool val) |
std::vector< G4String > * | GetCommandStack () |
void | RegisterBridge (G4UIbridge *brg) |
void | SetUpForAThread (G4int tId) |
void | SetUpForSpecialThread (G4String aPrefix) |
G4int | GetThreadID () const |
void | SetCoutFileName (const G4String &fileN="G4cout.txt", G4bool ifAppend=true) |
void | SetCerrFileName (const G4String &fileN="G4cerr.txt", G4bool ifAppend=true) |
void | SetThreadPrefixString (const G4String &s="W") |
void | SetThreadUseBuffer (G4bool flg=true) |
void | SetThreadIgnore (G4int tid=0) |
void | SetThreadIgnoreInit (G4bool flg=true) |
G4MTcoutDestination * | GetThreadCout () |
![]() | |
G4VStateDependent (G4bool bottom=false) | |
virtual | ~G4VStateDependent () |
G4int | operator== (const G4VStateDependent &right) const |
G4int | operator!= (const G4VStateDependent &right) const |
Static Public Member Functions | |
static G4UImanager * | GetUIpointer () |
static G4UImanager * | GetMasterUIpointer () |
Protected Member Functions | |
G4UImanager () | |
Private Member Functions | |
G4UImanager (const G4UImanager &right) | |
const G4UImanager & | operator= (const G4UImanager &right) |
G4int | operator== (const G4UImanager &right) const |
G4int | operator!= (const G4UImanager &right) const |
void | AddWorkerCommand (G4UIcommand *newCommand) |
void | RemoveWorkerCommand (G4UIcommand *aCommand) |
void | PauseSession (const char *msg) |
void | CreateMessenger () |
G4UIcommandTree * | FindDirectory (const char *dirName) |
Private Attributes | |
G4UIcommandTree * | treeTop |
G4UIsession * | session |
G4UIsession * | g4UIWindow |
G4UIcontrolMessenger * | UImessenger |
G4UnitsMessenger * | UnitsMessenger |
G4LocalThreadCoutMessenger * | CoutMessenger |
G4String | savedParameters |
G4UIcommand * | savedCommand |
G4int | verboseLevel |
std::ofstream | historyFile |
G4bool | saveHistory |
std::vector< G4String > | histVec |
G4UIaliasList * | aliasList |
G4int | maxHistSize |
G4bool | pauseAtBeginOfEvent |
G4bool | pauseAtEndOfEvent |
G4String | searchPath |
std::vector< G4String > | searchDirs |
G4bool | isMaster |
std::vector< G4UIbridge * > * | bridges |
G4bool | ignoreCmdNotFound |
G4bool | stackCommandsForBroadcast |
std::vector< G4String > * | commandStack |
G4int | threadID |
G4MTcoutDestination * | threadCout |
Static Private Attributes | |
static G4ThreadLocal G4UImanager * | fUImanager = 0 |
static G4ThreadLocal G4bool | fUImanagerHasBeenKilled = false |
static G4UImanager * | fMasterUImanager = 0 |
static G4int | igThreadID = -1 |
Definition at line 56 of file G4UImanager.hh.
|
protected |
Definition at line 74 of file G4UImanager.cc.
G4UImanager::~G4UImanager | ( | ) |
Definition at line 105 of file G4UImanager.cc.
|
private |
Definition at line 137 of file G4UImanager.cc.
void G4UImanager::AddNewCommand | ( | G4UIcommand * | newCommand | ) |
Definition at line 268 of file G4UImanager.cc.
|
private |
Definition at line 275 of file G4UImanager.cc.
G4int G4UImanager::ApplyCommand | ( | const char * | aCommand | ) |
Definition at line 446 of file G4UImanager.cc.
void G4UImanager::CreateHTML | ( | const char * | dir = "/" | ) |
Definition at line 655 of file G4UImanager.cc.
|
private |
Definition at line 98 of file G4UImanager.cc.
void G4UImanager::ExecuteMacroFile | ( | const char * | fileName | ) |
Definition at line 292 of file G4UImanager.cc.
|
private |
Definition at line 560 of file G4UImanager.cc.
Definition at line 694 of file G4UImanager.cc.
void G4UImanager::Foreach | ( | const char * | macroFile, |
const char * | variableName, | ||
const char * | candidates | ||
) |
Definition at line 374 of file G4UImanager.cc.
void G4UImanager::ForeachS | ( | const char * | valueList | ) |
Definition at line 345 of file G4UImanager.cc.
std::vector< G4String > * G4UImanager::GetCommandStack | ( | ) |
G4double G4UImanager::GetCurrentDoubleValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 256 of file G4UImanager.cc.
G4double G4UImanager::GetCurrentDoubleValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 244 of file G4UImanager.cc.
G4int G4UImanager::GetCurrentIntValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 232 of file G4UImanager.cc.
G4int G4UImanager::GetCurrentIntValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 220 of file G4UImanager.cc.
G4String G4UImanager::GetCurrentStringValue | ( | const char * | aCommand, |
G4int | parameterNumber = 1 , |
||
G4bool | reGet = true |
||
) |
Definition at line 182 of file G4UImanager.cc.
G4String G4UImanager::GetCurrentStringValue | ( | const char * | aCommand, |
const char * | aParameterName, | ||
G4bool | reGet = true |
||
) |
Definition at line 204 of file G4UImanager.cc.
G4String G4UImanager::GetCurrentValues | ( | const char * | aCommand | ) |
Definition at line 170 of file G4UImanager.cc.
|
inline |
|
inline |
Definition at line 245 of file G4UImanager.hh.
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 294 of file G4UImanager.hh.
|
inline |
Definition at line 279 of file G4UImanager.hh.
|
inline |
|
static |
Definition at line 58 of file G4UImanager.cc.
|
inline |
void G4UImanager::ListAlias | ( | ) |
Definition at line 650 of file G4UImanager.cc.
void G4UImanager::ListCommands | ( | const char * | direc | ) |
Definition at line 551 of file G4UImanager.cc.
void G4UImanager::Loop | ( | const char * | macroFile, |
const char * | variableName, | ||
G4double | initialValue, | ||
G4double | finalValue, | ||
G4double | stepSize = 1.0 |
||
) |
Definition at line 321 of file G4UImanager.cc.
void G4UImanager::LoopS | ( | const char * | valueList | ) |
Definition at line 301 of file G4UImanager.cc.
|
virtual |
Implements G4VStateDependent.
Definition at line 582 of file G4UImanager.cc.
|
private |
Definition at line 167 of file G4UImanager.cc.
|
private |
Definition at line 163 of file G4UImanager.cc.
|
private |
Definition at line 165 of file G4UImanager.cc.
void G4UImanager::ParseMacroSearchPath | ( | ) |
Definition at line 664 of file G4UImanager.cc.
|
private |
Definition at line 546 of file G4UImanager.cc.
void G4UImanager::RegisterBridge | ( | G4UIbridge * | brg | ) |
Definition at line 716 of file G4UImanager.cc.
void G4UImanager::RemoveAlias | ( | const char * | aliasName | ) |
Definition at line 643 of file G4UImanager.cc.
void G4UImanager::RemoveCommand | ( | G4UIcommand * | aCommand | ) |
Definition at line 280 of file G4UImanager.cc.
|
private |
Definition at line 287 of file G4UImanager.cc.
void G4UImanager::SetAlias | ( | const char * | aliasLine | ) |
Definition at line 624 of file G4UImanager.cc.
Definition at line 760 of file G4UImanager.cc.
void G4UImanager::SetCoutDestination | ( | G4UIsession *const | value | ) |
Definition at line 618 of file G4UImanager.cc.
Definition at line 745 of file G4UImanager.cc.
|
inline |
|
inline |
Definition at line 269 of file G4UImanager.hh.
|
inline |
|
inline |
Definition at line 258 of file G4UImanager.hh.
|
inline |
|
inline |
|
inline |
|
inline |
void G4UImanager::SetThreadIgnore | ( | G4int | tid = 0 | ) |
Definition at line 789 of file G4UImanager.cc.
void G4UImanager::SetThreadIgnoreInit | ( | G4bool | flg = true | ) |
Definition at line 800 of file G4UImanager.cc.
void G4UImanager::SetThreadPrefixString | ( | const G4String & | s = "W" | ) |
Definition at line 775 of file G4UImanager.cc.
void G4UImanager::SetThreadUseBuffer | ( | G4bool | flg = true | ) |
Definition at line 782 of file G4UImanager.cc.
void G4UImanager::SetUpForAThread | ( | G4int | tId | ) |
Definition at line 727 of file G4UImanager.cc.
void G4UImanager::SetUpForSpecialThread | ( | G4String | aPrefix | ) |
Definition at line 735 of file G4UImanager.cc.
|
inline |
G4String G4UImanager::SolveAlias | ( | const char * | aCmd | ) |
Definition at line 391 of file G4UImanager.cc.
void G4UImanager::StoreHistory | ( | const char * | fileName = "G4history.macro" | ) |
Definition at line 526 of file G4UImanager.cc.
void G4UImanager::StoreHistory | ( | G4bool | historySwitch, |
const char * | fileName = "G4history.macro" |
||
) |
Definition at line 529 of file G4UImanager.cc.
|
private |
Definition at line 163 of file G4UImanager.hh.
|
private |
Definition at line 252 of file G4UImanager.hh.
|
private |
Definition at line 255 of file G4UImanager.hh.
|
private |
Definition at line 156 of file G4UImanager.hh.
|
staticprivate |
Definition at line 150 of file G4UImanager.hh.
|
staticprivate |
Definition at line 148 of file G4UImanager.hh.
|
staticprivate |
Definition at line 149 of file G4UImanager.hh.
|
private |
Definition at line 153 of file G4UImanager.hh.
|
private |
Definition at line 160 of file G4UImanager.hh.
|
private |
Definition at line 162 of file G4UImanager.hh.
|
private |
Definition at line 253 of file G4UImanager.hh.
|
staticprivate |
Definition at line 285 of file G4UImanager.hh.
|
private |
Definition at line 251 of file G4UImanager.hh.
|
private |
Definition at line 164 of file G4UImanager.hh.
|
private |
Definition at line 165 of file G4UImanager.hh.
|
private |
Definition at line 166 of file G4UImanager.hh.
|
private |
Definition at line 158 of file G4UImanager.hh.
|
private |
Definition at line 157 of file G4UImanager.hh.
|
private |
Definition at line 161 of file G4UImanager.hh.
|
private |
Definition at line 168 of file G4UImanager.hh.
|
private |
Definition at line 167 of file G4UImanager.hh.
|
private |
Definition at line 152 of file G4UImanager.hh.
|
private |
Definition at line 254 of file G4UImanager.hh.
|
private |
Definition at line 284 of file G4UImanager.hh.
|
private |
Definition at line 283 of file G4UImanager.hh.
|
private |
Definition at line 151 of file G4UImanager.hh.
|
private |
Definition at line 154 of file G4UImanager.hh.
|
private |
Definition at line 155 of file G4UImanager.hh.
|
private |
Definition at line 159 of file G4UImanager.hh.