Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -27,59 +27,38 @@
|
||||
#include "G4VInteractiveSession.hh"
|
||||
|
||||
/***************************************************************************/
|
||||
G4VInteractiveSession::G4VInteractiveSession (
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
G4VInteractiveSession::G4VInteractiveSession ()
|
||||
{
|
||||
messenger = new G4InteractorMessenger(this);
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
G4VInteractiveSession::~G4VInteractiveSession()
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
{
|
||||
delete messenger;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
void G4VInteractiveSession::AddMenu (
|
||||
const char* a_name
|
||||
,const char* a_label
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
void G4VInteractiveSession::AddMenu (const char*,const char*)
|
||||
{
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
void G4VInteractiveSession::AddButton (
|
||||
const char* a_menu
|
||||
,const char* a_label
|
||||
,const char* a_command
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
void G4VInteractiveSession::AddButton (const char*,const char*,const char*)
|
||||
{
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
void G4VInteractiveSession::AddInteractor (
|
||||
G4String a_name
|
||||
,G4Interactor a_interactor
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
void G4VInteractiveSession::AddInteractor (G4String a_name,
|
||||
G4Interactor a_interactor)
|
||||
{
|
||||
interactors[a_name] = a_interactor;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
G4Interactor G4VInteractiveSession::GetInteractor (
|
||||
G4String a_name
|
||||
)
|
||||
/***************************************************************************/
|
||||
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
G4Interactor G4VInteractiveSession::GetInteractor (G4String a_name)
|
||||
{
|
||||
G4interactor_map::iterator it;
|
||||
if((it=interactors.find(a_name))==interactors.end()) return NULL;
|
||||
return (*it).second;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user