Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
@@ -25,7 +25,7 @@
#ifndef G4VInteractiveSession_H
#define G4VInteractiveSession_H 1
#include "g4std/map"
#include <map>
#include "G4VInteractorManager.hh"
@@ -33,25 +33,26 @@ class G4UImessenger;
// Class description :
//
// G4VInteractiveSession : a base class to isolate common things
// G4VInteractiveSession is a base class to isolate common things
// to various graphical "basic" G4UI sessions ; AddMenu, AddButton,
// a dictionnary for widgets.
// The word "interactor" is for "piece of user interface" or
// "widget" (which means nothing).
//
// Class description - end :
// The word "interactor" is for "piece of user interface" or "widget".
class G4VInteractiveSession
{
public: //with description
G4VInteractiveSession();
virtual ~G4VInteractiveSession();
virtual void AddMenu (const char*,const char*);
virtual void AddButton (const char*,const char*,const char*);
void AddInteractor(G4String,G4Interactor);
G4Interactor GetInteractor(G4String);
private:
class G4VInteractiveSession {
public:
G4VInteractiveSession();
virtual ~G4VInteractiveSession();
virtual void AddMenu (const char*,const char*);
virtual void AddButton (const char*,const char*,const char*);
void AddInteractor(G4String,G4Interactor);
G4Interactor GetInteractor(G4String);
private:
G4UImessenger* messenger;
typedef G4std::map<G4String,G4Interactor, G4std::less<G4String> > G4interactor_map;
typedef std::map<G4String,G4Interactor, std::less<G4String> > G4interactor_map;
G4interactor_map interactors;
};