Geant4  10.02.p03
G4VInteractiveSession Class Reference

#include <G4VInteractiveSession.hh>

Collaboration diagram for G4VInteractiveSession:

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)
 

Private Types

typedef std::map< G4String, G4Interactor, std::less< G4String > > G4interactor_map
 

Private Attributes

G4UImessengermessenger
 
G4interactor_map interactors
 

Detailed Description

Definition at line 44 of file G4VInteractiveSession.hh.

Member Typedef Documentation

◆ G4interactor_map

Definition at line 59 of file G4VInteractiveSession.hh.

Constructor & Destructor Documentation

◆ G4VInteractiveSession()

G4VInteractiveSession::G4VInteractiveSession ( )

Definition at line 33 of file G4VInteractiveSession.cc.

◆ ~G4VInteractiveSession()

G4VInteractiveSession::~G4VInteractiveSession ( )
virtual

Definition at line 39 of file G4VInteractiveSession.cc.

40 {
41  delete messenger;
42 }

Member Function Documentation

◆ AddButton()

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

Definition at line 50 of file G4VInteractiveSession.cc.

51 {
52 }
Here is the caller graph for this function:

◆ AddIcon()

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

Definition at line 55 of file G4VInteractiveSession.cc.

56 {
57 }
Here is the caller graph for this function:

◆ AddInteractor()

void G4VInteractiveSession::AddInteractor ( G4String  a_name,
G4Interactor  a_interactor 
)

Definition at line 60 of file G4VInteractiveSession.cc.

62 {
63  interactors[a_name] = a_interactor;
64 }

◆ AddMenu()

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

Definition at line 45 of file G4VInteractiveSession.cc.

46 {
47 }
Here is the caller graph for this function:

◆ GetInteractor()

G4Interactor G4VInteractiveSession::GetInteractor ( G4String  a_name)

Definition at line 67 of file G4VInteractiveSession.cc.

68 {
69  G4interactor_map::iterator it;
70  if((it=interactors.find(a_name))==interactors.end()) return NULL;
71  return (*it).second;
72 }

Member Data Documentation

◆ interactors

G4interactor_map G4VInteractiveSession::interactors
private

Definition at line 60 of file G4VInteractiveSession.hh.

◆ messenger

G4UImessenger* G4VInteractiveSession::messenger
private

Definition at line 58 of file G4VInteractiveSession.hh.


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