Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -49,6 +49,8 @@ private:
G4UIcommand* defaultIcons;
G4UIcommand* sys;
G4UIcommand* outputStyle;
G4UIcommand* nativeMenu;
G4UIcommand* clearMenu;
};
#endif
@@ -52,6 +52,8 @@ class G4VInteractiveSession
virtual void AddIcon (const char*,const char*,const char*,const char*);
virtual void DefaultIcons (bool);
virtual void OutputStyle (const char*,const char*,const char*);
virtual void NativeMenu (bool);
virtual void ClearMenu ();
void AddInteractor(G4String,G4Interactor);
G4Interactor GetInteractor(G4String);
+23 -22
View File
@@ -23,13 +23,18 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4Win32
//
// Class description :
//
// To unify Windows message treatment between
// G4/interfaces Windows sessions and G4/visualizations Windows drivers.
// G.Barrand
// A singleton to handle GUI sessions and visualization
// drivers built over Windows. It allows to have one Windows main
// loop for the whole application.
// Unifies Windows message treatment between G4/interfaces Windows
// sessions and G4/visualizations Windows drivers.
// Original author: G.Barrand, 1998
// --------------------------------------------------------------------
#ifndef G4WIN32_HH
#define G4WIN32_HH
@@ -40,25 +45,21 @@
#include "G4VInteractorManager.hh"
// Class description :
//
// G4Win32 : a singleton to handle GUI sessions and visualization
// drivers built over Windows. It permits to have one Windows main
// loop for the whole application.
//
// Class description - end :
class G4Win32 : public G4VInteractorManager
{
public:
class G4Win32 : public G4VInteractorManager {
public:
static G4Win32* getInstance ();
G4bool Inited ();
void* GetEvent ();
void FlushAndWaitExecution ();
static G4bool DispatchWin32Event (void*);
virtual ~G4Win32 ();
private:
G4Win32();
static G4Win32* instance; // Pointer to single instance.
static G4Win32* getInstance ();
G4bool Inited ();
void* GetEvent ();
void FlushAndWaitExecution ();
static G4bool DispatchWin32Event (void*);
virtual ~G4Win32 ();
private:
G4Win32();
static G4Win32* instance; // Pointer to single instance.
};
#endif
-68
View File
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
// To unify Wt event treatment between
// G4/interfaces Wt sessions and G4/visualizations Wt drivers.
// L. Garnier
#ifndef G4WT_HH
#define G4WT_HH
#if defined(G4INTY_BUILD_WT) || defined(G4INTY_USE_WT)
#include "G4VInteractorManager.hh"
// Class description :
//
// G4Wt : a singleton to handle GUI sessions and visualization
// drivers built over Wt. It permits to have one Wt main loop for
// the whole application. The Wt toolkit is inited in the
// constructor. It is done once for the whole application.
//
// Class description - end :
#include <Wt/WServer>
class G4Wt : public G4VInteractorManager {
public:
static G4Wt* getInstance();
static G4Wt* getInstance(int,char**,char*);
Wt::WServer getServer();
G4bool Inited();
void* GetEvent();
void FlushAndWaitExecution();
virtual ~G4Wt();
private:
G4Wt (int,char**,char*);
static G4Wt* instance; // Pointer to single instance.
Wt::WServer *wServer;
int argn;
char** args;
};
#endif //HAS_WT
#endif