Geant4-11
|
#include <G4UIWin32.hh>
Public Types | |
using | Transformer = std::function< G4bool(G4String &)> |
Public Member Functions | |
void | AddButton (const char *, const char *, const char *) override |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
virtual void | AddIcon (const char *, const char *, const char *, const char *) |
void | AddInteractor (G4String, G4Interactor) |
void | AddMenu (const char *, const char *) override |
virtual void | ClearMenu () |
virtual void | DefaultIcons (bool) |
G4UIWin32 () | |
G4String | GetCommand (G4int) |
G4Interactor | GetInteractor (G4String) |
G4int | GetLastReturnCode () const |
virtual void | NativeMenu (bool) |
virtual void | OutputStyle (const char *, const char *, const char *) |
void | PauseSessionStart (const G4String &) override |
void | Prompt (const G4String &) |
G4int | ReceiveG4cerr (const G4String &) override |
G4int | ReceiveG4cerr_ (const G4String &msg) |
G4int | ReceiveG4cout (const G4String &) override |
G4int | ReceiveG4cout_ (const G4String &msg) |
virtual void | ResetTransformers () |
G4UIsession * | SessionStart () override |
void | SessionTerminate () |
~G4UIWin32 () override | |
Static Public Member Functions | |
static G4int | InSession () |
Protected Member Functions | |
void | ApplyShellCommand (const G4String &, G4bool &, G4bool &) |
G4bool | ChangeDirectory (const char *newDir) |
void | ChangeDirectoryCommand (const G4String &) |
G4String | Complete (const G4String &) |
virtual void | ExecuteCommand (const G4String &) |
G4UIcommand * | FindCommand (const char *commandName) const |
G4UIcommandTree * | FindDirectory (const char *dirName) const |
G4String | FindMatchingPath (G4UIcommandTree *, const G4String &) |
G4String | GetCurrentWorkingDirectory () const |
void | ListDirectory (const G4String &) const |
G4String | ModifyToFullPathCommand (const char *aCommandLine) const |
void | ShowCurrent (const G4String &) const |
void | TerminalHelp (const G4String &) |
Protected Attributes | |
G4int | ifBatch = 0 |
G4int | lastRC = 0 |
std::vector< Transformer > | transformersCerr |
std::vector< Transformer > | transformersCout |
Static Protected Attributes | |
static G4ICOMS_DLL G4int | inSession = 0 |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Private Types | |
typedef std::map< G4String, G4Interactor, std::less< G4String > > | G4interactor_map |
Private Member Functions | |
HTREEITEM | AddItemToHelpTree (LPTSTR, HTREEITEM=TVI_ROOT) |
void | AddText (LPSTR) |
G4bool | CreateComponents (HWND) |
void | CreateHelpTree (HTREEITEM, G4UIcommandTree *) |
void | DoOpenMacro (HWND) |
void | DoSaveLog (HWND) |
void | DoSaveViewer (HWND) |
void | ExitHelp () const override |
G4bool | GetHelpChoice (G4int &) override |
G4String | GetHelpTreeToolTips (HTREEITEM) |
LPSTR | GetItemPath (HTREEITEM) |
void | HelpTreeDoubleClick (HTREEITEM) |
G4bool | InitHelpTreeItems () |
G4String | ModifyPath (const G4String &tempPath) const |
G4bool | ProcessDefaultCommands (G4int) |
void | ProcessDownKey () |
void | ProcessEnterKey () |
void | ProcessEscKey () |
void | ProcessTabKey () |
void | ProcessUpKey () |
G4bool | ResizeComponents (HWND) |
G4bool | SaveLogFile (LPCTSTR) |
void | SecondaryLoop (const G4String &) |
Static Private Member Functions | |
static LRESULT CALLBACK | ComboEditorWindowProc (HWND, UINT, WPARAM, LPARAM) |
static G4String | ConvertNewLines (G4String) |
static G4String | GetShortCommandPath (G4String) |
static G4String | GetToolTips (G4int) |
static LRESULT CALLBACK | MainWindowProc (HWND, UINT, WPARAM, LPARAM) |
Private Attributes | |
std::map< G4int, G4String, std::less< G4int > > | commands |
G4String | currentDirectory |
G4bool | fHelp |
G4int | fHelpChoice |
std::vector< G4String > | fHistory |
G4int | fHistoryPos |
HWND | fHWndComboBox |
HWND | fHWndComboEditor |
HWND | fHWndEditor |
HWND | fHWndHelpTree |
HWND | fHWndMainWindow |
HWND | fHWndStatus |
HWND | fHWndToolBar |
G4VInteractorManager * | interactorManager |
G4interactor_map | interactors |
HMENU | menuBar |
G4UImessenger * | messenger |
Definition at line 91 of file G4UIWin32.hh.
|
privateinherited |
Definition at line 63 of file G4VInteractiveSession.hh.
|
inherited |
Definition at line 61 of file G4coutDestination.hh.
G4UIWin32::G4UIWin32 | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 64 of file G4UIWin32.cc.
References G4VInteractiveSession::AddInteractor(), fHWndMainWindow, G4cout, G4endl, G4Win32::getInstance(), G4UImanager::GetUIpointer(), ID_EXIT_APP, ID_OPEN_MACRO, ID_ORIENTATION_OBLIQUE, ID_ORIENTATION_XY, ID_ORIENTATION_XZ, ID_ORIENTATION_YZ, ID_PROJ_ORTHOGRAPHIC, ID_PROJ_PERSPECTIVE, ID_RUN_BEAMON, ID_SAVE_VIEWER_STATE, ID_VIEW_SOLID, ID_VIEW_WIREFRAME, ID_ZOOM_IN, ID_ZOOM_OUT, interactorManager, mainClassName, MainWindowProc(), menuBar, G4UImanager::SetCoutDestination(), G4UImanager::SetG4UIWindow(), G4UImanager::SetSession(), and tmpSession.
|
override |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 177 of file G4UIWin32.cc.
References fHWndComboBox, fHWndEditor, fHWndHelpTree, fHWndMainWindow, fHWndStatus, fHWndToolBar, G4UImanager::GetUIpointer(), G4UImanager::SetCoutDestination(), G4UImanager::SetG4UIWindow(), and G4UImanager::SetSession().
|
overridevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VInteractiveSession.
Definition at line 344 of file G4UIWin32.cc.
References actionIdentifier, commands, and G4VInteractiveSession::GetInteractor().
|
inlineinherited |
Definition at line 67 of file G4coutDestination.hh.
References G4coutDestination::transformersCerr.
Referenced by G4MTcoutDestination::HandleFileCerr().
|
inlineinherited |
Definition at line 71 of file G4coutDestination.hh.
References G4coutDestination::transformersCerr.
|
inlineinherited |
Definition at line 62 of file G4coutDestination.hh.
References G4coutDestination::transformersCout.
Referenced by G4MTcoutDestination::AddMasterOutput(), G4MTcoutDestination::HandleFileCout(), and G4MTcoutDestination::SetDefaultOutput().
|
inlineinherited |
Definition at line 66 of file G4coutDestination.hh.
References G4coutDestination::transformersCout.
|
virtualinherited |
|
inherited |
Definition at line 80 of file G4VInteractiveSession.cc.
References G4VInteractiveSession::interactors.
Referenced by G4UIQt::AddMenu(), G4UIXm::AddMenu(), AddMenu(), and G4UIWin32().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1222 of file G4UIWin32.cc.
References fHWndHelpTree.
Referenced by CreateHelpTree(), and InitHelpTreeItems().
|
overridevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VInteractiveSession.
Definition at line 331 of file G4UIWin32.cc.
References G4VInteractiveSession::AddInteractor(), fHWndMainWindow, and menuBar.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1063 of file G4UIWin32.cc.
References fHWndEditor.
Referenced by ReceiveG4cerr(), and ReceiveG4cout().
|
protectedinherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 232 of file G4VBasicShell.cc.
References G4VBasicShell::ChangeDirectoryCommand(), G4VBasicShell::ExecuteCommand(), exitPause, exitSession, G4cerr, G4cout, G4endl, G4VBasicShell::GetCurrentWorkingDirectory(), G4UImanager::GetNumberOfHistory(), G4UImanager::GetPreviousCommand(), G4UImanager::GetUIpointer(), G4VBasicShell::ListDirectory(), G4StrUtil::lstrip_copy(), G4VBasicShell::ModifyToFullPathCommand(), G4VBasicShell::ShowCurrent(), and G4VBasicShell::TerminalHelp().
Referenced by G4UIQt::ButtonCallback(), G4UIXm::ButtonCallback(), G4UIQt::CommandEnteredCallback(), G4UIXm::CommandEnteredCallback(), DoOpenMacro(), DoSaveViewer(), ProcessDefaultCommands(), and ProcessEnterKey().
|
protectedinherited |
Definition at line 74 of file G4VBasicShell.cc.
References G4VBasicShell::currentDirectory, G4VBasicShell::FindDirectory(), G4VBasicShell::ModifyPath(), and G4StrUtil::strip_copy().
Referenced by G4VBasicShell::ChangeDirectoryCommand().
|
protectedinherited |
Definition at line 325 of file G4VBasicShell.cc.
References G4VBasicShell::ChangeDirectory(), G4cout, G4endl, and G4StrUtil::strip_copy().
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), and G4ZMQServer::GetCommand().
|
virtualinherited |
|
staticprivate |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 471 of file G4UIWin32.cc.
References origComboEditorWindowProc.
Referenced by CreateComponents().
Definition at line 180 of file G4VBasicShell.cc.
References G4VBasicShell::FindMatchingPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4VBasicShell::ModifyPath(), and G4StrUtil::strip_copy().
Referenced by G4UIQt::eventFilter(), G4UIXm::keyHandler(), and ProcessTabKey().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 997 of file G4UIWin32.cc.
Referenced by ReceiveG4cerr(), and ReceiveG4cout().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 530 of file G4UIWin32.cc.
References ComboEditorWindowProc(), fHWndComboBox, fHWndComboEditor, fHWndEditor, fHWndHelpTree, fHWndStatus, fHWndToolBar, ID_HELP_ABOUT, ID_LOG_CLEAN, ID_LOG_SAVE, ID_OPEN_MACRO, ID_RUN_BEAMON, ID_SAVE_VIEWER_STATE, ID_ZOOM_IN, ID_ZOOM_OUT, IDC_MAIN_COMBO, IDC_MAIN_EDIT, IDC_MAIN_STATUS, IDC_MAIN_TOOL, IDC_MAIN_TREE_VIEW, NUM_BUTTONS, and origComboEditorWindowProc.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1191 of file G4UIWin32.cc.
References AddItemToHelpTree(), CreateHelpTree(), G4UIcommandTree::GetCommand(), G4UIcommandTree::GetCommandEntry(), G4UIcommand::GetCommandPath(), G4UIcommandTree::GetPathName(), GetShortCommandPath(), G4UIcommandTree::GetTree(), and G4UIcommandTree::GetTreeEntry().
Referenced by CreateHelpTree(), and InitHelpTreeItems().
|
virtualinherited |
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1081 of file G4UIWin32.cc.
References G4VBasicShell::ApplyShellCommand(), exitPause, exitSession, and IDC_MAIN_STATUS.
Referenced by ProcessDefaultCommands().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1135 of file G4UIWin32.cc.
References IDC_MAIN_STATUS, and SaveLogFile().
Referenced by ProcessDefaultCommands().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1108 of file G4UIWin32.cc.
References G4VBasicShell::ApplyShellCommand(), exitPause, exitSession, and IDC_MAIN_STATUS.
Referenced by ProcessDefaultCommands().
|
protectedvirtualinherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented in G4UIterminal, and G4ZMQServer.
Definition at line 206 of file G4VBasicShell.cc.
References G4UImanager::ApplyCommand(), fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4endl, and G4UImanager::GetUIpointer().
Referenced by G4VBasicShell::ApplyShellCommand().
|
overrideprivatevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 325 of file G4UIWin32.cc.
|
protectedinherited |
Definition at line 109 of file G4VBasicShell.cc.
References G4UIcommandTree::FindPath(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), G4VBasicShell::ModifyPath(), and G4StrUtil::strip_copy().
Referenced by G4UIterminal::ExecuteCommand(), and G4ZMQServer::ExecuteCommand().
|
protectedinherited |
Definition at line 87 of file G4VBasicShell.cc.
References G4UImanager::GetTree(), G4UIcommandTree::GetTree(), G4UImanager::GetUIpointer(), G4VBasicShell::ModifyPath(), and G4StrUtil::strip_copy().
Referenced by G4VBasicShell::ChangeDirectory(), G4VBasicShell::ListDirectory(), and G4ZMQServer::SessionStart().
|
protectedinherited |
Definition at line 196 of file G4VBasicShell.cc.
Referenced by G4VBasicShell::Complete().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 360 of file G4UIWin32.cc.
References commands.
|
protectedinherited |
Definition at line 69 of file G4VBasicShell.cc.
References G4VBasicShell::currentDirectory.
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), G4ZMQServer::GetCommand(), G4VBasicShell::ListDirectory(), G4ZMQServer::SessionStart(), and G4VBasicShell::TerminalHelp().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 301 of file G4UIWin32.cc.
References G4VInteractorManager::DispatchEvent(), exitHelp, fHelp, fHelpChoice, G4VInteractorManager::GetEvent(), interactorManager, and Prompt().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 967 of file G4UIWin32.cc.
References fHWndHelpTree, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4UIcommand::GetGuidanceLine(), GetItemPath(), G4UIcommandTree::GetTitle(), G4UImanager::GetTree(), and G4UImanager::GetUIpointer().
|
inherited |
Definition at line 87 of file G4VInteractiveSession.cc.
References G4VInteractiveSession::interactors.
Referenced by G4UIQt::AddButton(), G4UIXm::AddButton(), and AddButton().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1270 of file G4UIWin32.cc.
References field_utils::copy(), and fHWndHelpTree.
Referenced by GetHelpTreeToolTips(), and HelpTreeDoubleClick().
|
inlineinherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1255 of file G4UIWin32.cc.
Referenced by CreateHelpTree(), and InitHelpTreeItems().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 932 of file G4UIWin32.cc.
References ID_HELP_ABOUT, ID_LOG_CLEAN, ID_LOG_SAVE, ID_OPEN_MACRO, ID_RUN_BEAMON, ID_SAVE_VIEWER_STATE, ID_ZOOM_IN, and ID_ZOOM_OUT.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1015 of file G4UIWin32.cc.
References fHWndComboEditor, and GetItemPath().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1161 of file G4UIWin32.cc.
References AddItemToHelpTree(), CreateHelpTree(), G4UIcommandTree::GetPathName(), GetShortCommandPath(), G4UImanager::GetTree(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), and G4UImanager::GetUIpointer().
Referenced by SessionStart().
|
staticinherited |
Definition at line 68 of file G4UIsession.cc.
References G4UIsession::inSession.
Referenced by G4UIcontrolMessenger::SetNewValue().
|
protectedinherited |
Definition at line 339 of file G4VBasicShell.cc.
References G4VBasicShell::FindDirectory(), G4cout, G4endl, G4VBasicShell::GetCurrentWorkingDirectory(), G4UIcommandTree::ListCurrent(), and G4StrUtil::strip_copy().
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), and G4ZMQServer::GetCommand().
|
staticprivate |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 368 of file G4UIWin32.cc.
References exitPause, exitSession, IDC_MAIN_EDIT, and tmpSession.
Referenced by G4UIWin32().
Definition at line 124 of file G4VBasicShell.cc.
References G4VBasicShell::currentDirectory.
Referenced by G4VBasicShell::ChangeDirectory(), G4VBasicShell::Complete(), G4VBasicShell::FindCommand(), G4VBasicShell::FindDirectory(), and G4VBasicShell::ModifyToFullPathCommand().
|
protectedinherited |
Definition at line 47 of file G4VBasicShell.cc.
References G4VBasicShell::ModifyPath(), and G4StrUtil::strip_copy().
Referenced by G4UIQt::ActivateCommand(), G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), G4ZMQServer::GetCommand(), G4VBasicShell::ShowCurrent(), and G4VBasicShell::TerminalHelp().
|
virtualinherited |
|
virtualinherited |
|
overridevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 241 of file G4UIWin32.cc.
References SecondaryLoop().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 847 of file G4UIWin32.cc.
References G4VBasicShell::ApplyShellCommand(), DoOpenMacro(), DoSaveLog(), DoSaveViewer(), exitPause, exitSession, fHelp, fHWndMainWindow, ID_EXIT_APP, ID_HELP_ABOUT, ID_LOG_CLEAN, ID_LOG_SAVE, ID_OPEN_MACRO, ID_ORIENTATION_OBLIQUE, ID_ORIENTATION_XY, ID_ORIENTATION_XZ, ID_ORIENTATION_YZ, ID_PROJ_ORTHOGRAPHIC, ID_PROJ_PERSPECTIVE, ID_RUN_BEAMON, ID_RUN_CMD, ID_SAVE_VIEWER_STATE, ID_VIEW_SOLID, ID_VIEW_WIREFRAME, ID_ZOOM_IN, ID_ZOOM_OUT, and IDC_MAIN_EDIT.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 825 of file G4UIWin32.cc.
References fHistory, fHistoryPos, fHWndComboEditor, and pos.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 758 of file G4UIWin32.cc.
References G4VBasicShell::ApplyShellCommand(), buffer, ConvertStringToInt(), exitHelp, exitPause, exitSession, fHelp, fHelpChoice, fHistory, fHistoryPos, fHWndComboBox, and MAX_HISTORY_ITEMS.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 747 of file G4UIWin32.cc.
References fHWndComboBox.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 721 of file G4UIWin32.cc.
References buffer, G4VBasicShell::Complete(), fHWndComboBox, fHWndComboEditor, and fHWndHelpTree.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 807 of file G4UIWin32.cc.
References fHistory, fHistoryPos, fHWndComboEditor, and pos.
void G4UIWin32::Prompt | ( | const G4String & | a_prompt | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 229 of file G4UIWin32.cc.
Referenced by GetHelpChoice(), SecondaryLoop(), and SessionStart().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4UIsession.
Definition at line 287 of file G4UIWin32.cc.
References AddText(), and ConvertNewLines().
Definition at line 84 of file G4coutDestination.cc.
References m, G4coutDestination::ReceiveG4cerr(), G4coutDestination::transformersCerr, and G4coutDestination::transformersCout.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cerr().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4UIsession.
Definition at line 273 of file G4UIWin32.cc.
References AddText(), and ConvertNewLines().
Definition at line 62 of file G4coutDestination.cc.
References m, G4coutDestination::ReceiveG4cout(), and G4coutDestination::transformersCout.
Referenced by G4MasterForwardcoutDestination::ReceiveG4cout().
|
virtualinherited |
Definition at line 41 of file G4coutDestination.cc.
References G4coutDestination::transformersCerr, and G4coutDestination::transformersCout.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 659 of file G4UIWin32.cc.
References fHWndComboBox, fHWndEditor, fHWndHelpTree, fHWndStatus, and fHWndToolBar.
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 1028 of file G4UIWin32.cc.
References fHWndEditor.
Referenced by DoSaveLog().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 256 of file G4UIWin32.cc.
References G4VInteractorManager::DispatchEvent(), exitPause, G4VInteractorManager::GetEvent(), interactorManager, and Prompt().
Referenced by PauseSessionStart().
|
overridevirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 205 of file G4UIWin32.cc.
References G4VInteractorManager::DisableSecondaryLoop(), G4VInteractorManager::DispatchEvent(), G4VInteractorManager::EnableSecondaryLoop(), exitSession, G4VInteractorManager::GetEvent(), InitHelpTreeItems(), interactorManager, and Prompt().
void G4UIWin32::SessionTerminate | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 235 of file G4UIWin32.cc.
|
protectedinherited |
Definition at line 313 of file G4VBasicShell.cc.
References G4cout, G4endl, G4UImanager::GetCurrentValues(), G4UImanager::GetUIpointer(), and G4VBasicShell::ModifyToFullPathCommand().
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), and G4ZMQServer::GetCommand().
|
protectedinherited |
Definition at line 355 of file G4VBasicShell.cc.
References G4VBasicShell::ExitHelp(), G4UIcommandTree::FindPath(), G4cout, G4endl, G4UIcommandTree::GetCommand(), G4VBasicShell::GetCurrentWorkingDirectory(), G4VBasicShell::GetHelpChoice(), G4UImanager::GetTree(), G4UIcommandTree::GetTree(), G4UIcommandTree::GetTreeEntry(), G4UImanager::GetUIpointer(), G4UIcommand::List(), G4UIcommandTree::ListCurrentWithNum(), G4VBasicShell::ModifyToFullPathCommand(), and G4StrUtil::strip().
Referenced by G4VBasicShell::ApplyShellCommand(), G4UIterminal::GetCommand(), G4ZMQServer::GetCommand(), and G4UIQt::ShowHelpCallback().
Definition at line 172 of file G4UIWin32.hh.
Referenced by AddButton(), and GetCommand().
|
privateinherited |
Definition at line 101 of file G4VBasicShell.hh.
Referenced by G4VBasicShell::ChangeDirectory(), G4VBasicShell::GetCurrentWorkingDirectory(), and G4VBasicShell::ModifyPath().
|
private |
Definition at line 178 of file G4UIWin32.hh.
Referenced by GetHelpChoice(), ProcessDefaultCommands(), and ProcessEnterKey().
|
private |
Definition at line 179 of file G4UIWin32.hh.
Referenced by GetHelpChoice(), and ProcessEnterKey().
|
private |
Definition at line 180 of file G4UIWin32.hh.
Referenced by ProcessDownKey(), ProcessEnterKey(), and ProcessUpKey().
|
private |
Definition at line 181 of file G4UIWin32.hh.
Referenced by ProcessDownKey(), ProcessEnterKey(), and ProcessUpKey().
|
private |
Definition at line 165 of file G4UIWin32.hh.
Referenced by CreateComponents(), ProcessEnterKey(), ProcessEscKey(), ProcessTabKey(), ResizeComponents(), and ~G4UIWin32().
|
private |
Definition at line 166 of file G4UIWin32.hh.
Referenced by CreateComponents(), HelpTreeDoubleClick(), ProcessDownKey(), ProcessTabKey(), and ProcessUpKey().
|
private |
Definition at line 163 of file G4UIWin32.hh.
Referenced by AddText(), CreateComponents(), ResizeComponents(), SaveLogFile(), and ~G4UIWin32().
|
private |
Definition at line 167 of file G4UIWin32.hh.
Referenced by AddItemToHelpTree(), CreateComponents(), GetHelpTreeToolTips(), GetItemPath(), ProcessTabKey(), ResizeComponents(), and ~G4UIWin32().
|
private |
Definition at line 162 of file G4UIWin32.hh.
Referenced by AddMenu(), G4UIWin32(), ProcessDefaultCommands(), and ~G4UIWin32().
|
private |
Definition at line 168 of file G4UIWin32.hh.
Referenced by CreateComponents(), ResizeComponents(), and ~G4UIWin32().
|
private |
Definition at line 164 of file G4UIWin32.hh.
Referenced by CreateComponents(), ResizeComponents(), and ~G4UIWin32().
|
protectedinherited |
Definition at line 68 of file G4UIsession.hh.
Referenced by G4UIsession::~G4UIsession().
|
staticprotectedinherited |
Definition at line 67 of file G4UIsession.hh.
Referenced by G4UIsession::G4UIsession(), G4UIsession::InSession(), and G4UIsession::~G4UIsession().
|
private |
Definition at line 170 of file G4UIWin32.hh.
Referenced by G4UIWin32(), GetHelpChoice(), SecondaryLoop(), and SessionStart().
|
privateinherited |
Definition at line 64 of file G4VInteractiveSession.hh.
Referenced by G4VInteractiveSession::AddInteractor(), and G4VInteractiveSession::GetInteractor().
|
protectedinherited |
Definition at line 69 of file G4UIsession.hh.
Referenced by G4UIbatch::G4UIbatch(), G4UIsession::GetLastReturnCode(), and G4UIbatch::SessionStart().
|
staticprotectedinherited |
Definition at line 88 of file G4coutDestination.hh.
Referenced by G4UIQt::G4UIQt(), G4MasterForwardcoutDestination::ReceiveG4cerr(), G4MasterForwardcoutDestination::ReceiveG4cout(), and G4UIQt::~G4UIQt().
|
private |
Definition at line 171 of file G4UIWin32.hh.
Referenced by AddMenu(), and G4UIWin32().
|
privateinherited |
Definition at line 62 of file G4VInteractiveSession.hh.
Referenced by G4VInteractiveSession::G4VInteractiveSession(), and G4VInteractiveSession::~G4VInteractiveSession().
|
protectedinherited |
Definition at line 94 of file G4coutDestination.hh.
Referenced by G4coutDestination::AddCerrTransformer(), G4coutDestination::ReceiveG4cerr_(), and G4coutDestination::ResetTransformers().
|
protectedinherited |
Definition at line 93 of file G4coutDestination.hh.
Referenced by G4coutDestination::AddCoutTransformer(), G4coutDestination::ReceiveG4cerr_(), G4coutDestination::ReceiveG4cout_(), and G4coutDestination::ResetTransformers().