Geant4-11
|
#include <G4Xt.hh>
Public Member Functions | |
void | AddDispatcher (G4DispatchFunction) |
void | AddSecondaryLoopPostAction (G4SecondaryLoopAction) |
void | AddSecondaryLoopPreAction (G4SecondaryLoopAction) |
void | AddShell (G4Interactor) |
void | DisableSecondaryLoop () |
void | DispatchEvent (void *) |
void | EnableSecondaryLoop () |
void | FlushAndWaitExecution () |
char ** | GetArguments (int *) |
G4Interactor | GetCreatedInteractor () |
char * | GetCreationString () |
void * | GetEvent () |
int | GetExitSecondaryLoopCode () |
G4Interactor | GetMainInteractor () |
G4Interactor | GetParentInteractor () |
G4bool | Inited () |
void | PutStringInResourceDatabase (char *) |
void | RemoveDispatcher (G4DispatchFunction) |
void | RemoveShell (G4Interactor) |
void | RequireExitSecondaryLoop (int) |
virtual void | SecondaryLoop () |
void | SecondaryLoopPostActions () |
void | SecondaryLoopPreActions () |
void | SetArguments (int, char **) |
void | SetCreatedInteractor (G4Interactor) |
void | SetCreationString (char *) |
void | SetMainInteractor (G4Interactor) |
void | SetParentInteractor (G4Interactor) |
virtual | ~G4Xt () |
Static Public Member Functions | |
static G4Xt * | getInstance () |
static G4Xt * | getInstance (int, char **, char *) |
static bool | xt_dispatch_event (void *a_event) |
Private Member Functions | |
G4Xt (const G4Xt &) | |
G4Xt (int, char **, char *) | |
G4Xt & | operator= (const G4Xt &) |
Private Attributes | |
G4bool | alreadyInSecondaryLoop |
int | argc |
char ** | argv |
G4Interactor | createdInteractor |
char * | creationString |
std::vector< G4DispatchFunction > | dispatchers |
int | exitSecondaryLoop |
G4Interactor | mainInteractor |
G4Interactor | parentInteractor |
std::vector< G4SecondaryLoopAction > | postActions |
std::vector< G4SecondaryLoopAction > | preActions |
G4bool | secondaryLoopEnabled |
std::vector< G4Interactor > | shells |
Static Private Attributes | |
static G4Xt * | instance = NULL |
|
virtual |
|
private |
Referenced by getInstance().
|
private |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 77 of file G4Xt.cc.
References G4VInteractorManager::AddDispatcher(), appContext, argn, args, FALSE, G4cout, G4endl, NewString, G4VInteractorManager::SetArguments(), G4VInteractorManager::SetMainInteractor(), topWidget, TRUE, xt_dispatch_event(), and XtInited.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 150 of file G4VInteractorManager.cc.
References G4VInteractorManager::dispatchers.
Referenced by G4Win32::G4Win32(), and G4Xt().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 214 of file G4VInteractorManager.cc.
References G4VInteractorManager::postActions.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 192 of file G4VInteractorManager.cc.
References G4VInteractorManager::preActions.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 287 of file G4VInteractorManager.cc.
References G4VInteractorManager::shells.
Referenced by G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), and G4OpenInventorXtViewer::Initialise().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 142 of file G4VInteractorManager.cc.
References FALSE, and G4VInteractorManager::secondaryLoopEnabled.
Referenced by G4UIQt::SessionStart(), G4UIXm::SessionStart(), and G4UIWin32::SessionStart().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 176 of file G4VInteractorManager.cc.
References G4VInteractorManager::dispatchers.
Referenced by G4UIXm::GetHelpChoice(), G4UIWin32::GetHelpChoice(), G4VInteractorManager::SecondaryLoop(), G4UIWin32::SecondaryLoop(), G4UIXm::SecondaryLoop(), G4UIXm::SessionStart(), and G4UIWin32::SessionStart().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 134 of file G4VInteractorManager.cc.
References G4VInteractorManager::secondaryLoopEnabled, and TRUE.
Referenced by G4UIQt::SessionStart(), G4UIXm::SessionStart(), and G4UIWin32::SessionStart().
|
virtual |
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 107 of file G4VInteractorManager.cc.
References G4VInteractorManager::argc, and G4VInteractorManager::argv.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 339 of file G4VInteractorManager.cc.
References G4VInteractorManager::createdInteractor.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 356 of file G4VInteractorManager.cc.
References G4VInteractorManager::creationString.
Referenced by G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), and G4OpenInventorXtViewer::Initialise().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VInteractorManager.
Definition at line 150 of file G4Xt.cc.
References appContext, and topWidget.
Referenced by G4UIXm::GetHelpChoice(), G4UIXm::SecondaryLoop(), and G4UIXm::SessionStart().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 279 of file G4VInteractorManager.cc.
References G4VInteractorManager::exitSecondaryLoop.
|
static |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 55 of file G4Xt.cc.
References getInstance().
Referenced by G4UIXm::G4UIXm(), G4UIXm::GetHelpChoice(), getInstance(), G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorXt::Initialize(), G4OpenInventorXtExtended::Initialize(), G4OpenGLXmViewer::misc_callback(), G4UIXm::SecondaryLoop(), session::session(), G4UIXm::SessionStart(), G4OpenGLXmViewer::ShowView(), and G4OpenGLXmViewer::~G4OpenGLXmViewer().
|
static |
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 126 of file G4VInteractorManager.cc.
References G4VInteractorManager::mainInteractor.
Referenced by G4UIQt::G4UIQt(), G4UIXm::G4UIXm(), G4OpenGLQtViewer::getParentWidget(), G4OpenGLXmViewer::GetXmConnection(), G4OpenInventorWin::Initialize(), G4OpenInventorXt::Initialize(), G4OpenInventorXtExtended::Initialize(), session::session(), G4UIQt::SessionStart(), and G4UIQt::SessionTerminate().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 322 of file G4VInteractorManager.cc.
References G4VInteractorManager::parentInteractor.
Referenced by G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), and G4OpenInventorXtViewer::Initialise().
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Implements G4VInteractorManager.
Definition at line 142 of file G4Xt.cc.
References XtInited.
void G4Xt::PutStringInResourceDatabase | ( | char * | a_string | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 162 of file G4Xt.cc.
References topWidget.
Referenced by G4OpenGLXmViewer::GetXmConnection().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 161 of file G4VInteractorManager.cc.
References G4VInteractorManager::dispatchers.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 298 of file G4VInteractorManager.cc.
References G4VInteractorManager::shells.
Referenced by G4OpenGLXmViewer::~G4OpenGLXmViewer(), G4OpenInventorWinViewer::~G4OpenInventorWinViewer(), G4OpenInventorXtExtendedViewer::~G4OpenInventorXtExtendedViewer(), and G4OpenInventorXtViewer::~G4OpenInventorXtViewer().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 265 of file G4VInteractorManager.cc.
References G4VInteractorManager::alreadyInSecondaryLoop, G4VInteractorManager::exitSecondaryLoop, FALSE, and G4VInteractorManager::secondaryLoopEnabled.
Referenced by G4OpenInventorViewer::Escape().
|
virtualinherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reimplemented in G4SoQt.
Definition at line 236 of file G4VInteractorManager.cc.
References G4VInteractorManager::alreadyInSecondaryLoop, G4VInteractorManager::DispatchEvent(), G4VInteractorManager::exitSecondaryLoop, FALSE, G4cout, G4endl, G4VInteractorManager::GetEvent(), G4VInteractorManager::Inited(), G4VInteractorManager::secondaryLoopEnabled, G4VInteractorManager::SecondaryLoopPostActions(), G4VInteractorManager::SecondaryLoopPreActions(), and TRUE.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 225 of file G4VInteractorManager.cc.
References G4VInteractorManager::postActions.
Referenced by G4VInteractorManager::SecondaryLoop().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 203 of file G4VInteractorManager.cc.
References G4VInteractorManager::preActions.
Referenced by G4VInteractorManager::SecondaryLoop().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 79 of file G4VInteractorManager.cc.
References G4VInteractorManager::argc, G4VInteractorManager::argv, free, and NewString.
Referenced by G4Qt::G4Qt(), and G4Xt().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 330 of file G4VInteractorManager.cc.
References G4VInteractorManager::createdInteractor.
Referenced by G4OpenInventorQtViewer::Initialise(), G4OpenInventorWinViewer::Initialise(), G4OpenInventorXtExtendedViewer::Initialise(), and G4OpenInventorXtViewer::Initialise().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 347 of file G4VInteractorManager.cc.
References G4VInteractorManager::creationString.
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 117 of file G4VInteractorManager.cc.
References G4VInteractorManager::mainInteractor.
Referenced by G4Qt::G4Qt(), G4SoQt::G4SoQt(), G4Win32::G4Win32(), and G4Xt().
|
inherited |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 313 of file G4VInteractorManager.cc.
References G4VInteractorManager::parentInteractor.
|
inlinestatic |
Definition at line 58 of file G4Xt.hh.
Referenced by G4Xt(), G4OpenInventorXt::Initialize(), and G4OpenInventorXtExtended::Initialize().
|
privateinherited |
Definition at line 91 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::RequireExitSecondaryLoop(), G4VInteractorManager::SecondaryLoop(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
Definition at line 83 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetArguments(), G4VInteractorManager::SetArguments(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
Definition at line 84 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetArguments(), G4VInteractorManager::SetArguments(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
Definition at line 94 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetCreatedInteractor(), and G4VInteractorManager::SetCreatedInteractor().
|
privateinherited |
Definition at line 95 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetCreationString(), and G4VInteractorManager::SetCreationString().
|
privateinherited |
Definition at line 86 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::AddDispatcher(), G4VInteractorManager::DispatchEvent(), G4VInteractorManager::RemoveDispatcher(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
Definition at line 92 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetExitSecondaryLoopCode(), G4VInteractorManager::RequireExitSecondaryLoop(), G4VInteractorManager::SecondaryLoop(), and G4VInteractorManager::~G4VInteractorManager().
|
staticprivate |
Definition at line 65 of file G4Xt.hh.
Referenced by getInstance(), and ~G4Xt().
|
privateinherited |
Definition at line 85 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetMainInteractor(), and G4VInteractorManager::SetMainInteractor().
|
privateinherited |
Definition at line 93 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::GetParentInteractor(), and G4VInteractorManager::SetParentInteractor().
|
privateinherited |
Definition at line 88 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::AddSecondaryLoopPostAction(), G4VInteractorManager::SecondaryLoopPostActions(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
Definition at line 87 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::AddSecondaryLoopPreAction(), G4VInteractorManager::SecondaryLoopPreActions(), and G4VInteractorManager::~G4VInteractorManager().
|
privateinherited |
|
privateinherited |
Definition at line 89 of file G4VInteractorManager.hh.
Referenced by G4VInteractorManager::AddShell(), G4VInteractorManager::RemoveShell(), and G4VInteractorManager::~G4VInteractorManager().