00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // INCL++ intra-nuclear cascade model 00027 // Pekka Kaitaniemi, CEA and Helsinki Institute of Physics 00028 // Davide Mancusi, CEA 00029 // Alain Boudard, CEA 00030 // Sylvie Leray, CEA 00031 // Joseph Cugnon, University of Liege 00032 // 00033 #define INCLXX_IN_GEANT4_MODE 1 00034 00035 #include "globals.hh" 00036 00044 #ifndef G4INCLXXInterfaceMessenger_hh 00045 #define G4INCLXXInterfaceMessenger_hh 00046 00047 #include "G4INCLXXInterfaceStore.hh" 00048 #include "G4UImessenger.hh" 00049 #include "G4UIdirectory.hh" 00050 #include "G4UIcmdWithAnInteger.hh" 00051 #include "G4UIcmdWithAString.hh" 00052 #include "G4String.hh" 00053 00054 class G4INCLXXInterfaceStore; 00055 00056 class G4INCLXXInterfaceMessenger : public G4UImessenger 00057 { 00058 00059 public: 00060 G4INCLXXInterfaceMessenger (G4INCLXXInterfaceStore *anInterfaceStore); 00061 ~G4INCLXXInterfaceMessenger (); 00062 void SetNewValue (G4UIcommand *command, G4String newValues); 00063 // Identifies the command which has been invoked by the user, extracts the 00064 // parameters associated with that command (held in newValues, and uses 00065 // these values with the appropriate member function of G4INCLXXInterfaceStore. 00066 // 00067 private: 00068 static const G4String theUIDirectory; 00069 G4INCLXXInterfaceStore *theINCLXXInterfaceStore; 00070 G4UIdirectory *theINCLXXDirectory; 00071 G4UIcmdWithAString *accurateNucleusCmd; 00072 G4UIcmdWithAnInteger *maxClusterMassCmd; 00073 }; 00074 00075 #endif 00076