Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIXm.hh>
Public Member Functions | |
G4UIXm (G4int, char **) | |
G4UIsession * | SessionStart () |
void | AddMenu (const char *, const char *) |
void | AddButton (const char *, const char *, const char *) |
~G4UIXm () | |
void | Prompt (G4String) |
void | SessionTerminate () |
virtual void | PauseSessionStart (const G4String &) |
virtual G4int | ReceiveG4cout (const G4String &) |
virtual G4int | ReceiveG4cerr (const G4String &) |
G4String | GetCommand (Widget) |
Public Member Functions inherited from G4VBasicShell | |
G4VBasicShell () | |
virtual | ~G4VBasicShell () |
virtual G4UIsession * | SessionStart ()=0 |
virtual void | PauseSessionStart (const G4String &Prompt)=0 |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
~G4UIsession () override | |
virtual G4UIsession * | SessionStart () |
virtual void | PauseSessionStart (const G4String &Prompt) |
G4int | ReceiveG4cout (const G4String &coutString) override |
G4int | ReceiveG4cerr (const G4String &cerrString) override |
G4int | GetLastReturnCode () const |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination ()=default |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
virtual G4int | ReceiveG4cout (const G4String &msg) |
virtual G4int | ReceiveG4cerr (const G4String &msg) |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Public Member Functions inherited from G4VInteractiveSession | |
G4VInteractiveSession () | |
virtual | ~G4VInteractiveSession () |
virtual void | AddMenu (const char *, const char *) |
virtual void | AddButton (const char *, const char *, const char *) |
virtual void | AddIcon (const char *, const char *, const char *, const char *) |
virtual void | DefaultIcons (bool) |
virtual void | OutputStyle (const char *, const char *, const char *) |
virtual void | NativeMenu (bool) |
virtual void | ClearMenu () |
void | AddInteractor (G4String, G4Interactor) |
G4Interactor | GetInteractor (G4String) |
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 Member Functions inherited from G4VBasicShell | |
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 &) |
Protected Attributes inherited from G4UIsession | |
G4int | ifBatch = 0 |
G4int | lastRC = 0 |
Protected Attributes inherited from G4coutDestination | |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes inherited from G4UIsession | |
static G4ICOMS_DLL G4int | inSession = 0 |
Static Protected Attributes inherited from G4coutDestination | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
G4UIXm::G4UIXm | ( | G4int | argc, |
char ** | argv | ||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 70 of file G4UIXm.cc.
G4UIXm::~G4UIXm | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 162 of file G4UIXm.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VInteractiveSession.
Definition at line 325 of file G4UIXm.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4VInteractiveSession.
Definition at line 299 of file G4UIXm.cc.
G4String G4UIXm::GetCommand | ( | Widget | a_widget | ) |
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 215 of file G4UIXm.cc.
void G4UIXm::Prompt | ( | G4String | aPrompt | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 193 of file G4UIXm.cc.
Referenced by SessionStart().
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4UIsession.
Definition at line 258 of file G4UIXm.cc.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented from G4UIsession.
Definition at line 248 of file G4UIXm.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VBasicShell.
Definition at line 175 of file G4UIXm.cc.
void G4UIXm::SessionTerminate | ( | ) |