#include <G4UIGainServer.hh>
Inheritance diagram for G4UIGainServer:

Definition at line 65 of file G4UIGainServer.hh.
| G4UIGainServer::G4UIGainServer | ( | ) |
Definition at line 44 of file G4UIGainServer.cc.
References DEFAULT_PORT, FALSE, G4cout, G4endl, G4StateManager::GetCurrentState(), GetNewTreeStructure(), GetNewTreeValues(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), iCont, iExit, JVersion, newTreeCommands, newTreeParams, newTreePCP, port, prefix, previousTreeCommands, previousTreeParams, previousTreePCP, promptCharacter, SetUPServer(), terminal_mode, TVersion, UI, and uiMode.
Here is the call graph for this function:

| G4UIGainServer::~G4UIGainServer | ( | ) |
Definition at line 78 of file G4UIGainServer.cc.
References G4UImanager::GetUIpointer(), G4UImanager::SetCoutDestination(), G4UImanager::SetSession(), and UI.
Here is the call graph for this function:

| void G4VBasicShell::ApplyShellCommand | ( | G4String | a_string, | |
| G4bool & | exitSession, | |||
| G4bool & | exitPause | |||
| ) | [protected, inherited] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 286 of file G4VBasicShell.cc.
References G4VBasicShell::ChangeDirectoryCommand(), G4VBasicShell::ExecuteCommand(), G4cerr, G4cout, G4endl, G4VBasicShell::GetCurrentWorkingDirectory(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetUIpointer(), G4String::leading, G4VBasicShell::ListDirectory(), G4VBasicShell::ModifyToFullPathCommand(), G4VBasicShell::ShowCurrent(), G4String::strip(), and G4VBasicShell::TerminalHelp().
Here is the call graph for this function:

| G4bool G4VBasicShell::ChangeDirectory | ( | const char * | newDir | ) | [protected, inherited] |
Definition at line 75 of file G4VBasicShell.cc.
References G4String::both, G4VBasicShell::currentDirectory, G4VBasicShell::FindDirectory(), G4VBasicShell::ModifyPath(), and G4String::strip().
Referenced by G4VBasicShell::ChangeDirectoryCommand().
Here is the call graph for this function:

| void G4UIGainServer::ChangeDirectory | ( | G4String | ) | [private] |
Definition at line 481 of file G4UIGainServer.cc.
References G4String::both, FindDirPath(), G4cout, G4endl, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
Here is the call graph for this function:

| void G4VBasicShell::ChangeDirectoryCommand | ( | G4String | ) | [protected, inherited] |
Definition at line 378 of file G4VBasicShell.cc.
References G4String::both, G4VBasicShell::ChangeDirectory(), G4cout, G4endl, and G4String::strip().
Referenced by G4VBasicShell::ApplyShellCommand(), and G4UIterminal::GetCommand().
Here is the call graph for this function:

| void G4UIGainServer::CloseConnection | ( | ) | [private] |
| void G4UIGainServer::CodeGenJavaParams | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
Definition at line 695 of file G4UIGainServer.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and SendAParamProperty().
Referenced by SendCommandProperties(), and SendParameterProperties().
Here is the call graph for this function:

| void G4UIGainServer::CodeGenJavaTree | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
Definition at line 676 of file G4UIGainServer.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetTree(), and G4UIcommandTree::GetTreeEntry().
Referenced by SendCommandProperties().
Here is the call graph for this function:

| void G4UIGainServer::CodeGenTclParams | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
| void G4UIGainServer::CodeGenTclTree | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
| int G4UIGainServer::CommandUpdated | ( | void | ) | [private] |
Definition at line 831 of file G4UIGainServer.cc.
References added, addedAndDeleted, deleted, G4cout, G4endl, newTreeCommands, notChanged, and previousTreeCommands.
Referenced by ExecuteCommand().
Definition at line 168 of file G4VBasicShell.cc.
References G4String::both, G4VBasicShell::FindMatchingPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), G4VBasicShell::ModifyPath(), and G4String::strip().
Here is the call graph for this function:

| void G4UIGainServer::ExecuteCommand | ( | G4String | aCommand | ) | [private, virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VBasicShell.
Definition at line 132 of file G4UIGainServer.cc.
References G4UImanager::ApplyCommand(), CommandUpdated(), fAliasNotFound, fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4cout, G4endl, GetNewTreeStructure(), GetNewTreeValues(), G4UImanager::GetTree(), newTreeCommands, newTreeParams, newTreePCP, NotifyCommandUpdate(), previousTreeCommands, previousTreeParams, previousTreePCP, G4UImanager::SolveAlias(), terminal_mode, UI, uiMode, UpdateParamVal(), and UpdateState().
Referenced by PauseSessionStart(), and SessionStart().
Here is the call graph for this function:

| void G4UIGainServer::ExitHelp | ( | ) | [private, virtual] |
| G4UIcommand * G4VBasicShell::FindCommand | ( | const char * | commandName | ) | [protected, inherited] |
Definition at line 110 of file G4VBasicShell.cc.
References G4String::both, G4UIcommandTree::FindPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), G4VBasicShell::ModifyPath(), and G4String::strip().
Referenced by G4UIterminal::ExecuteCommand().
Here is the call graph for this function:

| G4UIcommandTree * G4VBasicShell::FindDirectory | ( | const char * | dirName | ) | [protected, inherited] |
Definition at line 88 of file G4VBasicShell.cc.
References G4String::both, G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4String::index(), G4VBasicShell::ModifyPath(), and G4String::strip().
Referenced by G4VBasicShell::ChangeDirectory(), and G4VBasicShell::ListDirectory().
Here is the call graph for this function:

| G4UIcommandTree * G4UIGainServer::FindDirPath | ( | G4String | ) | [private] |
Definition at line 631 of file G4UIGainServer.cc.
References G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4String::index(), and UI.
Referenced by ChangeDirectory(), and ListDirectory().
Here is the call graph for this function:

| G4String G4VBasicShell::FindMatchingPath | ( | G4UIcommandTree * | , | |
| G4String | ||||
| ) | [protected, inherited] |
Definition at line 182 of file G4VBasicShell.cc.
References G4String::append(), G4String::first(), G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandName(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), G4String::index(), and G4String::remove().
Referenced by G4VBasicShell::Complete().
Here is the call graph for this function:

| G4String G4UIGainServer::GetCommand | ( | ) |
Definition at line 184 of file G4UIGainServer.cc.
References G4String::append(), buf, ChangeDirectory(), G4cerr, G4cin, G4cout, G4endl, GetFullPath(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetTree(), iCont, iExit, java_mode, JVersion, G4String::leading, ListDirectory(), NotifyStateChange(), prefix, promptCharacter, G4String::readLine(), G4String::remove(), SendCommandProperties(), ShowCurrent(), socketD, G4String::strip(), tcl_mode, terminal_mode, TerminalHelp(), TVersion, UI, and uiMode.
Referenced by PauseSessionStart(), and SessionStart().
Here is the call graph for this function:

| G4String G4VBasicShell::GetCurrentWorkingDirectory | ( | ) | [protected, inherited] |
Definition at line 70 of file G4VBasicShell.cc.
References G4VBasicShell::currentDirectory.
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), G4VBasicShell::ListDirectory(), and G4VBasicShell::TerminalHelp().
Definition at line 423 of file G4UIGainServer.cc.
References G4String::append(), G4String::both, ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand(), and ShowCurrent().
Here is the call graph for this function:

| void G4UIGainServer::GetNewTreeStructure | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
Definition at line 862 of file G4UIGainServer.cc.
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetPathName(), G4UIcommandTree::GetTitle(), G4UIcommand::GetTitle(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and newTreeCommands.
Referenced by ExecuteCommand(), and G4UIGainServer().
Here is the call graph for this function:

| void G4UIGainServer::GetNewTreeValues | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
Definition at line 911 of file G4UIGainServer.cc.
References G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), newTreeParams, and newTreePCP.
Referenced by ExecuteCommand(), and G4UIGainServer().
Here is the call graph for this function:

| void G4UIGainServer::ListDirectory | ( | G4String | ) | [private] |
Reimplemented from G4VBasicShell.
Definition at line 508 of file G4UIGainServer.cc.
References G4String::both, FindDirPath(), G4cout, G4endl, G4UIcommandTree::ListCurrent(), ModifyPrefix(), prefix, and G4String::strip().
Referenced by GetCommand().
Here is the call graph for this function:

Definition at line 608 of file G4UIGainServer.cc.
References G4String::last(), and prefix.
Referenced by ChangeDirectory(), GetFullPath(), and ListDirectory().
Here is the call graph for this function:

| G4String G4VBasicShell::ModifyToFullPathCommand | ( | const char * | aCommandLine | ) | [protected, inherited] |
Definition at line 48 of file G4VBasicShell.cc.
References G4String::both, G4String::index(), G4String::isNull(), G4VBasicShell::ModifyPath(), and G4String::strip().
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), G4VBasicShell::ShowCurrent(), and G4VBasicShell::TerminalHelp().
Here is the call graph for this function:

| void G4UIGainServer::NotifyCommandUpdate | ( | void | ) | [private] |
Definition at line 816 of file G4UIGainServer.cc.
References G4UImanager::GetTree(), SendCommandProperties(), and UI.
Referenced by ExecuteCommand().
Here is the call graph for this function:

| void G4UIGainServer::NotifyParameterUpdate | ( | G4UIcommand * | ) | [private] |
Definition at line 824 of file G4UIGainServer.cc.
References SendAParamProperty().
Referenced by UpdateParamVal().
Here is the call graph for this function:

| void G4UIGainServer::NotifyStateChange | ( | void | ) | [private] |
Definition at line 800 of file G4UIGainServer.cc.
References G4cout, G4endl, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), G4UImanager::GetTree(), SendDisableList(), terminal_mode, UI, and uiMode.
Referenced by GetCommand(), and UpdateState().
Here is the call graph for this function:

| void G4UIGainServer::PauseSessionStart | ( | G4String | msg | ) | [virtual] |
Implements G4VBasicShell.
Definition at line 114 of file G4UIGainServer.cc.
References buf, ExecuteCommand(), G4cout, G4endl, GetCommand(), iCont, promptCharacter, socketD, and TRUE.
Here is the call graph for this function:

| void G4UIGainServer::Prompt | ( | G4String | ) |
Reimplemented from G4UIsession.
Definition at line 334 of file G4UIGainServer.cc.
References socketD.
Reimplemented from G4UIsession.
Definition at line 315 of file G4UIGainServer.cc.
References socketD.
| void G4UIGainServer::SendAParamProperty | ( | G4UIcommand * | ) | [private] |
Definition at line 718 of file G4UIGainServer.cc.
References G4String::append(), G4cout, G4endl, G4UIcommand::GetCommandPath(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIcommand::GetRange(), and G4UIparameter::IsOmittable().
Referenced by CodeGenJavaParams(), and NotifyParameterUpdate().
Here is the call graph for this function:

| void G4UIGainServer::SendATclParamProperty | ( | G4UIcommand * | ) | [private] |
| void G4UIGainServer::SendCommandProperties | ( | G4UIcommandTree * | ) | [private] |
Definition at line 649 of file G4UIGainServer.cc.
References CodeGenJavaParams(), CodeGenJavaTree(), G4cerr, G4cout, G4endl, java_mode, and uiMode.
Referenced by GetCommand(), and NotifyCommandUpdate().
Here is the call graph for this function:

| void G4UIGainServer::SendDisableList | ( | G4UIcommandTree * | , | |
| int | recursiveLevel | |||
| ) | [private] |
Definition at line 760 of file G4UIGainServer.cc.
References G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and G4UIcommand::IsAvailable().
Referenced by NotifyStateChange().
Here is the call graph for this function:

| void G4UIGainServer::SendParameterProperties | ( | G4UIcommandTree * | ) | [private] |
Definition at line 664 of file G4UIGainServer.cc.
References CodeGenJavaParams(), G4cerr, G4endl, java_mode, and uiMode.
Here is the call graph for this function:

| G4UIsession * G4UIGainServer::SessionStart | ( | ) | [virtual] |
Implements G4VBasicShell.
Definition at line 95 of file G4UIGainServer.cc.
References ExecuteCommand(), GetCommand(), G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), iExit, promptCharacter, TRUE, and WaitingConnection().
Here is the call graph for this function:

| void G4UIGainServer::SessionTerminate | ( | ) |
| bool G4UIGainServer::SetUPServer | ( | ) | [private] |
Definition at line 370 of file G4UIGainServer.cc.
References G4cout, G4endl, port, saddr, SOCK_NAME, and socketD.
Referenced by G4UIGainServer().
| void G4UIGainServer::ShowCurrent | ( | G4String | ) | [private] |
Reimplemented from G4VBasicShell.
Definition at line 463 of file G4UIGainServer.cc.
References G4cout, G4endl, G4UImanager::GetCurrentValues(), GetFullPath(), G4String::isNull(), terminal_mode, UI, and uiMode.
Referenced by GetCommand().
Here is the call graph for this function:

| void G4UIGainServer::TerminalHelp | ( | G4String | ) | [private] |
Reimplemented from G4VBasicShell.
Definition at line 537 of file G4UIGainServer.cc.
References G4String::both, G4UIcommandTree::FindPath(), G4cin, G4cout, G4endl, G4UIcommandTree::GetCommand(), G4UIcommandTree::GetTree(), G4UImanager::GetTree(), G4UIcommandTree::GetTreeEntry(), G4String::index(), G4UIcommand::List(), G4UIcommandTree::ListCurrentWithNum(), prefix, G4String::prepend(), G4String::strip(), and UI.
Referenced by GetCommand().
Here is the call graph for this function:

| void G4UIGainServer::UpdateParamVal | ( | void | ) | [private] |
Definition at line 890 of file G4UIGainServer.cc.
References G4cout, G4endl, G4UIcommand::GetCommandPath(), newTreeParams, newTreePCP, NotifyParameterUpdate(), and previousTreeParams.
Referenced by ExecuteCommand().
Here is the call graph for this function:

| void G4UIGainServer::UpdateState | ( | void | ) | [private] |
Definition at line 786 of file G4UIGainServer.cc.
References G4State_PreInit, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), and NotifyStateChange().
Referenced by ExecuteCommand().
Here is the call graph for this function:

| void G4UIGainServer::WaitingConnection | ( | ) | [private] |
Definition at line 405 of file G4UIGainServer.cc.
References caddr, G4cerr, G4endl, len, and socketD.
Referenced by SessionStart().
char G4UIGainServer::buf[1024] [private] |
Definition at line 88 of file G4UIGainServer.hh.
Referenced by GetCommand(), and PauseSessionStart().
struct sockaddr_in G4UIGainServer::caddr [private] |
G4bool G4UIGainServer::iCont [private] |
Definition at line 79 of file G4UIGainServer.hh.
Referenced by G4UIGainServer(), GetCommand(), and PauseSessionStart().
G4bool G4UIGainServer::iExit [private] |
Definition at line 78 of file G4UIGainServer.hh.
Referenced by G4UIGainServer(), GetCommand(), and SessionStart().
G4String G4UIGainServer::JVersion [private] |
int G4UIGainServer::len [private] |
std::vector<G4String> G4UIGainServer::newTreeCommands [private] |
Definition at line 95 of file G4UIGainServer.hh.
Referenced by CommandUpdated(), ExecuteCommand(), G4UIGainServer(), and GetNewTreeStructure().
std::vector<G4String> G4UIGainServer::newTreeParams [private] |
Definition at line 97 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), G4UIGainServer(), GetNewTreeValues(), and UpdateParamVal().
std::vector<G4UIcommand*> G4UIGainServer::newTreePCP [private] |
Definition at line 99 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), G4UIGainServer(), GetNewTreeValues(), and UpdateParamVal().
int G4UIGainServer::port [private] |
G4String G4UIGainServer::prefix [private] |
Definition at line 67 of file G4UIGainServer.hh.
Referenced by ChangeDirectory(), G4UIGainServer(), GetCommand(), GetFullPath(), ListDirectory(), ModifyPrefix(), and TerminalHelp().
std::vector<G4String> G4UIGainServer::previousTreeCommands [private] |
Definition at line 94 of file G4UIGainServer.hh.
Referenced by CommandUpdated(), ExecuteCommand(), and G4UIGainServer().
std::vector<G4String> G4UIGainServer::previousTreeParams [private] |
Definition at line 96 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), G4UIGainServer(), and UpdateParamVal().
std::vector<G4UIcommand*> G4UIGainServer::previousTreePCP [private] |
Definition at line 98 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), and G4UIGainServer().
G4String G4UIGainServer::promptCharacter [private] |
Definition at line 68 of file G4UIGainServer.hh.
Referenced by G4UIGainServer(), GetCommand(), PauseSessionStart(), and SessionStart().
int G4UIGainServer::ret [private] |
Definition at line 87 of file G4UIGainServer.hh.
struct sockaddr_in G4UIGainServer::saddr [private] |
int G4UIGainServer::socketD[3] [private] |
Definition at line 82 of file G4UIGainServer.hh.
Referenced by GetCommand(), PauseSessionStart(), ReceiveG4cerr(), ReceiveG4cout(), SetUPServer(), and WaitingConnection().
G4String G4UIGainServer::TVersion [private] |
G4UImanager* G4UIGainServer::UI [private] |
Definition at line 69 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), FindDirPath(), G4UIGainServer(), GetCommand(), NotifyCommandUpdate(), NotifyStateChange(), ShowCurrent(), TerminalHelp(), and ~G4UIGainServer().
UImode G4UIGainServer::uiMode [private] |
Definition at line 70 of file G4UIGainServer.hh.
Referenced by ExecuteCommand(), G4UIGainServer(), GetCommand(), NotifyStateChange(), SendCommandProperties(), SendParameterProperties(), and ShowCurrent().
1.4.7