G4VInteractiveSession Class Reference

#include <G4VInteractiveSession.hh>


Public Member Functions

 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 *)
void AddInteractor (G4String, G4Interactor)
G4Interactor GetInteractor (G4String)


Detailed Description

Definition at line 44 of file G4VInteractiveSession.hh.


Constructor & Destructor Documentation

G4VInteractiveSession::G4VInteractiveSession (  ) 

Definition at line 33 of file G4VInteractiveSession.cc.

00034 {
00035   messenger = new G4InteractorMessenger(this);
00036 }

G4VInteractiveSession::~G4VInteractiveSession (  )  [virtual]

Definition at line 39 of file G4VInteractiveSession.cc.

00040 {
00041   delete messenger;
00042 }


Member Function Documentation

void G4VInteractiveSession::AddButton ( const char *  ,
const char *  ,
const char *   
) [virtual]

Definition at line 50 of file G4VInteractiveSession.cc.

Referenced by G4InteractorMessenger::SetNewValue().

00051 {
00052 }

void G4VInteractiveSession::AddIcon ( const char *  ,
const char *  ,
const char *  ,
const char *   
) [virtual]

Definition at line 55 of file G4VInteractiveSession.cc.

Referenced by G4InteractorMessenger::SetNewValue().

00056 {
00057 }

void G4VInteractiveSession::AddInteractor ( G4String  ,
G4Interactor   
)

Definition at line 60 of file G4VInteractiveSession.cc.

00062 {
00063   interactors[a_name] = a_interactor;
00064 }

void G4VInteractiveSession::AddMenu ( const char *  ,
const char *   
) [virtual]

Definition at line 45 of file G4VInteractiveSession.cc.

Referenced by G4InteractorMessenger::SetNewValue().

00046 {
00047 }

G4Interactor G4VInteractiveSession::GetInteractor ( G4String   ) 

Definition at line 67 of file G4VInteractiveSession.cc.

00068 {
00069   G4interactor_map::iterator it;
00070   if((it=interactors.find(a_name))==interactors.end()) return NULL;
00071   return (*it).second;  
00072 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:44 2013 for Geant4 by  doxygen 1.4.7