Geant4  10.03
G4VInteractorManager Class Referenceabstract

#include <G4VInteractorManager.hh>

Public Member Functions

 G4VInteractorManager ()
 
virtual ~G4VInteractorManager ()
 
void SetArguments (int, char **)
 
char ** GetArguments (int *)
 
void SetMainInteractor (G4Interactor)
 
G4Interactor GetMainInteractor ()
 
void AddDispatcher (G4DispatchFunction)
 
void RemoveDispatcher (G4DispatchFunction)
 
void AddSecondaryLoopPreAction (G4SecondaryLoopAction)
 
void AddSecondaryLoopPostAction (G4SecondaryLoopAction)
 
void AddShell (G4Interactor)
 
void RemoveShell (G4Interactor)
 
void EnableSecondaryLoop ()
 
void DisableSecondaryLoop ()
 
void SecondaryLoopPreActions ()
 
void SecondaryLoopPostActions ()
 
void RequireExitSecondaryLoop (int)
 
void DispatchEvent (void *)
 
void SecondaryLoop ()
 
int GetExitSecondaryLoopCode ()
 
void PutStringInResourceDatabase (char *)
 
virtual G4bool Inited ()=0
 
virtual void * GetEvent ()=0
 
virtual void FlushAndWaitExecution ()=0
 
void SetParentInteractor (G4Interactor)
 
G4Interactor GetParentInteractor ()
 
void SetCreatedInteractor (G4Interactor)
 
G4Interactor GetCreatedInteractor ()
 
void SetCreationString (char *)
 
char * GetCreationString ()
 

Private Attributes

int argc
 
char ** argv
 
G4Interactor mainInteractor
 
std::vector< G4DispatchFunctiondispatchers
 
std::vector
< G4SecondaryLoopAction
preActions
 
std::vector
< G4SecondaryLoopAction
postActions
 
std::vector< G4Interactorshells
 
G4bool secondaryLoopEnabled
 
G4bool alreadyInSecondaryLoop
 
int exitSecondaryLoop
 
G4Interactor parentInteractor
 
G4Interactor createdInteractor
 
char * creationString
 

Detailed Description

Definition at line 51 of file G4VInteractorManager.hh.

Constructor & Destructor Documentation

G4VInteractorManager::G4VInteractorManager ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 42 of file G4VInteractorManager.cc.

G4VInteractorManager::~G4VInteractorManager ( )
virtual

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 58 of file G4VInteractorManager.cc.

References alreadyInSecondaryLoop, argc, argv, dispatchers, exitSecondaryLoop, FALSE, free, postActions, preActions, secondaryLoopEnabled, shells, and TRUE.

Member Function Documentation

void G4VInteractorManager::AddDispatcher ( G4DispatchFunction  a_dispatcher)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 151 of file G4VInteractorManager.cc.

References dispatchers.

void G4VInteractorManager::AddSecondaryLoopPostAction ( G4SecondaryLoopAction  a_postAction)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 215 of file G4VInteractorManager.cc.

References postActions.

void G4VInteractorManager::AddSecondaryLoopPreAction ( G4SecondaryLoopAction  a_preAction)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 193 of file G4VInteractorManager.cc.

References preActions.

void G4VInteractorManager::AddShell ( G4Interactor  a_shell)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 288 of file G4VInteractorManager.cc.

References shells.

void G4VInteractorManager::DisableSecondaryLoop ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 143 of file G4VInteractorManager.cc.

References FALSE, and secondaryLoopEnabled.

void G4VInteractorManager::DispatchEvent ( void *  a_event)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 177 of file G4VInteractorManager.cc.

References dispatchers.

Referenced by SecondaryLoop().

+ Here is the caller graph for this function:

void G4VInteractorManager::EnableSecondaryLoop ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 135 of file G4VInteractorManager.cc.

References secondaryLoopEnabled, and TRUE.

virtual void G4VInteractorManager::FlushAndWaitExecution ( )
pure virtual
char ** G4VInteractorManager::GetArguments ( int *  a_argc)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 108 of file G4VInteractorManager.cc.

References argc, and argv.

G4Interactor G4VInteractorManager::GetCreatedInteractor ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 340 of file G4VInteractorManager.cc.

References createdInteractor.

char * G4VInteractorManager::GetCreationString ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 357 of file G4VInteractorManager.cc.

References creationString.

virtual void* G4VInteractorManager::GetEvent ( )
pure virtual

Referenced by SecondaryLoop().

+ Here is the caller graph for this function:

G4int G4VInteractorManager::GetExitSecondaryLoopCode ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 280 of file G4VInteractorManager.cc.

References exitSecondaryLoop.

G4Interactor G4VInteractorManager::GetMainInteractor ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 127 of file G4VInteractorManager.cc.

References mainInteractor.

G4Interactor G4VInteractorManager::GetParentInteractor ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 323 of file G4VInteractorManager.cc.

References parentInteractor.

virtual G4bool G4VInteractorManager::Inited ( )
pure virtual

Referenced by SecondaryLoop().

+ Here is the caller graph for this function:

void G4VInteractorManager::PutStringInResourceDatabase ( char *  )
void G4VInteractorManager::RemoveDispatcher ( G4DispatchFunction  a_dispatcher)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 162 of file G4VInteractorManager.cc.

References dispatchers.

void G4VInteractorManager::RemoveShell ( G4Interactor  a_shell)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 299 of file G4VInteractorManager.cc.

References shells.

void G4VInteractorManager::RequireExitSecondaryLoop ( int  a_code)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 266 of file G4VInteractorManager.cc.

References alreadyInSecondaryLoop, exitSecondaryLoop, FALSE, and secondaryLoopEnabled.

void G4VInteractorManager::SecondaryLoop ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 237 of file G4VInteractorManager.cc.

References alreadyInSecondaryLoop, DispatchEvent(), exitSecondaryLoop, FALSE, G4cout, G4endl, GetEvent(), Inited(), secondaryLoopEnabled, SecondaryLoopPostActions(), SecondaryLoopPreActions(), and TRUE.

+ Here is the call graph for this function:

void G4VInteractorManager::SecondaryLoopPostActions ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 226 of file G4VInteractorManager.cc.

References postActions.

Referenced by SecondaryLoop().

+ Here is the caller graph for this function:

void G4VInteractorManager::SecondaryLoopPreActions ( )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 204 of file G4VInteractorManager.cc.

References preActions.

Referenced by SecondaryLoop().

+ Here is the caller graph for this function:

void G4VInteractorManager::SetArguments ( int  a_argc,
char **  a_argv 
)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 80 of file G4VInteractorManager.cc.

References argc, argv, free, and NewString.

void G4VInteractorManager::SetCreatedInteractor ( G4Interactor  a_interactor)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 331 of file G4VInteractorManager.cc.

References createdInteractor.

void G4VInteractorManager::SetCreationString ( char *  a_string)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 348 of file G4VInteractorManager.cc.

References creationString.

void G4VInteractorManager::SetMainInteractor ( G4Interactor  a_main)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 118 of file G4VInteractorManager.cc.

References mainInteractor.

void G4VInteractorManager::SetParentInteractor ( G4Interactor  a_interactor)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 314 of file G4VInteractorManager.cc.

References parentInteractor.

Member Data Documentation

G4bool G4VInteractorManager::alreadyInSecondaryLoop
private
int G4VInteractorManager::argc
private

Definition at line 84 of file G4VInteractorManager.hh.

Referenced by GetArguments(), SetArguments(), and ~G4VInteractorManager().

char** G4VInteractorManager::argv
private

Definition at line 85 of file G4VInteractorManager.hh.

Referenced by GetArguments(), SetArguments(), and ~G4VInteractorManager().

G4Interactor G4VInteractorManager::createdInteractor
private

Definition at line 95 of file G4VInteractorManager.hh.

Referenced by GetCreatedInteractor(), and SetCreatedInteractor().

char* G4VInteractorManager::creationString
private

Definition at line 96 of file G4VInteractorManager.hh.

Referenced by GetCreationString(), and SetCreationString().

std::vector<G4DispatchFunction> G4VInteractorManager::dispatchers
private
int G4VInteractorManager::exitSecondaryLoop
private
G4Interactor G4VInteractorManager::mainInteractor
private

Definition at line 86 of file G4VInteractorManager.hh.

Referenced by GetMainInteractor(), and SetMainInteractor().

G4Interactor G4VInteractorManager::parentInteractor
private

Definition at line 94 of file G4VInteractorManager.hh.

Referenced by GetParentInteractor(), and SetParentInteractor().

std::vector<G4SecondaryLoopAction> G4VInteractorManager::postActions
private
std::vector<G4SecondaryLoopAction> G4VInteractorManager::preActions
private
G4bool G4VInteractorManager::secondaryLoopEnabled
private
std::vector<G4Interactor> G4VInteractorManager::shells
private

Definition at line 90 of file G4VInteractorManager.hh.

Referenced by AddShell(), RemoveShell(), and ~G4VInteractorManager().


The documentation for this class was generated from the following files: