ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/interfaces/common/include/G4VBasicShell.hh>
Public Member Functions | |
G4VBasicShell () | |
virtual | ~G4VBasicShell () |
virtual G4UIsession * | SessionStart ()=0 |
virtual void | PauseSessionStart (const G4String &Prompt)=0 |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
virtual | ~G4UIsession () |
virtual G4int | ReceiveG4cout (const G4String &coutString) |
virtual G4int | ReceiveG4cerr (const G4String &cerrString) |
G4int | GetLastReturnCode () const |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination () |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Protected Member Functions | |
G4String | ModifyToFullPathCommand (const char *aCommandLine) const |
G4String | GetCurrentWorkingDirectory () const |
G4bool | ChangeDirectory (const char *newDir) |
G4UIcommandTree * | FindDirectory (const char *dirName) const |
G4UIcommand * | FindCommand (const char *commandName) const |
G4String | Complete (const G4String &) |
G4String | FindMatchingPath (G4UIcommandTree *, const G4String &) |
virtual void | ExecuteCommand (const G4String &) |
virtual G4bool | GetHelpChoice (G4int &)=0 |
virtual void | ExitHelp () const =0 |
void | ApplyShellCommand (const G4String &, G4bool &, G4bool &) |
void | ShowCurrent (const G4String &) const |
void | ChangeDirectoryCommand (const G4String &) |
void | ListDirectory (const G4String &) const |
void | TerminalHelp (const G4String &) |
Private Member Functions | |
G4String | ModifyPath (const G4String &tempPath) const |
Private Attributes | |
G4String | currentDirectory |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Static Public Member Functions inherited from G4UIsession | |
static G4int | InSession () |
Protected Attributes inherited from G4UIsession | |
G4int | ifBatch |
G4int | lastRC |
Static Protected Attributes inherited from G4UIsession | |
static G4ICOMS_DLL G4int | inSession = 0 |
Definition at line 51 of file G4VBasicShell.hh.
View newest version in sPHENIX GitHub at line 51 of file G4VBasicShell.hh
G4VBasicShell::G4VBasicShell | ( | ) |
Definition at line 38 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 38 of file G4VBasicShell.cc
|
virtual |
Definition at line 43 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 43 of file G4VBasicShell.cc
|
protected |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 231 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 231 of file G4VBasicShell.cc
References ChangeDirectoryCommand(), ExecuteCommand(), G4cerr, G4cout, G4endl, GetCurrentWorkingDirectory(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetUIpointer(), G4String::leading, ListDirectory(), ModifyToFullPathCommand(), ShowCurrent(), G4String::strip(), and TerminalHelp().
|
protected |
Definition at line 74 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 74 of file G4VBasicShell.cc
References G4String::both, currentDirectory, FindDirectory(), ModifyPath(), and G4String::strip().
Referenced by ChangeDirectoryCommand().
Definition at line 325 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 325 of file G4VBasicShell.cc
References G4String::both, ChangeDirectory(), G4cout, G4endl, and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), and G4UIterminal::GetCommand().
Definition at line 180 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 180 of file G4VBasicShell.cc
References G4String::both, FindMatchingPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), ModifyPath(), G4String::strip(), and gammaraytel::tree.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented in G4UIGainServer, G4UIterminal, and G4ZMQServer.
Definition at line 205 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 205 of file G4VBasicShell.cc
References G4UImanager::ApplyCommand(), fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4endl, and G4UImanager::GetUIpointer().
Referenced by ApplyShellCommand().
|
protectedpure virtual |
Implemented in G4UIGainServer, G4UIterminal, G4VMPIsession, and G4ZMQServer.
Referenced by TerminalHelp().
|
protected |
Definition at line 109 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 109 of file G4VBasicShell.cc
References G4String::both, G4UIcommandTree::FindPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), ModifyPath(), and G4String::strip().
Referenced by G4VMPIsession::ExecCommand(), G4ZMQServer::ExecuteCommand(), and G4UIterminal::ExecuteCommand().
|
protected |
Definition at line 87 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 87 of file G4VBasicShell.cc
References G4String::both, G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), incremental_prev_tag::idx, G4String::index(), ModifyPath(), and G4String::strip().
Referenced by ChangeDirectory(), ListDirectory(), and G4ZMQServer::SessionStart().
|
protected |
Definition at line 195 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 195 of file G4VBasicShell.cc
Referenced by Complete().
|
protected |
Definition at line 69 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 69 of file G4VBasicShell.cc
References currentDirectory.
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), G4UIterminal::GetCommand(), ListDirectory(), G4ZMQServer::SessionStart(), and TerminalHelp().
Implemented in G4UIGainServer, G4UIterminal, G4VMPIsession, and G4ZMQServer.
Referenced by TerminalHelp().
Definition at line 339 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 339 of file G4VBasicShell.cc
References G4String::both, FindDirectory(), G4cout, G4endl, GetCurrentWorkingDirectory(), G4UIcommandTree::ListCurrent(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), and G4UIterminal::GetCommand().
Definition at line 124 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 124 of file G4VBasicShell.cc
References currentDirectory, and incremental_prev_tag::idx.
Referenced by ChangeDirectory(), Complete(), FindCommand(), FindDirectory(), and ModifyToFullPathCommand().
|
protected |
Definition at line 47 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 47 of file G4VBasicShell.cc
References G4String::both, G4String::index(), G4String::isNull(), ModifyPath(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), G4UIterminal::GetCommand(), ShowCurrent(), and TerminalHelp().
Reimplemented from G4UIsession.
Implemented in G4UIGainServer, G4UIterminal, G4ZMQServer, and G4VMPIsession.
|
pure virtual |
Reimplemented from G4UIsession.
Implemented in G4UIGainServer, G4UIterminal, G4ZMQServer, G4MPIsession, and G4MPIbatch.
Definition at line 313 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 313 of file G4VBasicShell.cc
References G4cout, G4endl, G4UImanager::GetCurrentValues(), G4UImanager::GetUIpointer(), G4String::isNull(), and ModifyToFullPathCommand().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), and G4UIterminal::GetCommand().
Definition at line 355 of file G4VBasicShell.cc.
View newest version in sPHENIX GitHub at line 355 of file G4VBasicShell.cc
References G4String::both, ExitHelp(), G4UIcommandTree::FindPath(), G4cout, G4endl, G4UIcommandTree::GetCommand(), GetCurrentWorkingDirectory(), GetHelpChoice(), G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UIcommandTree::GetTreeEntry(), G4UImanager::GetUIpointer(), G4String::index(), G4UIcommand::List(), G4UIcommandTree::ListCurrentWithNum(), ModifyToFullPathCommand(), and G4String::strip().
Referenced by ApplyShellCommand(), G4MPIsession::GetCommand(), G4ZMQServer::GetCommand(), and G4UIterminal::GetCommand().
|
private |
Definition at line 101 of file G4VBasicShell.hh.
View newest version in sPHENIX GitHub at line 101 of file G4VBasicShell.hh
Referenced by ChangeDirectory(), GetCurrentWorkingDirectory(), and ModifyPath().