|
||||
File indexing completed on 2025-01-18 09:59:04
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr) 0028 // 0029 // WARNING : This class is released as a prototype. 0030 // It might strongly evolve or even disapear in the next releases. 0031 // 0032 // Author: Mathieu Karamitros 0033 0034 // The code is developed in the framework of the ESA AO7146 0035 // 0036 // We would be very happy hearing from you, send us your feedback! :) 0037 // 0038 // In order for Geant4-DNA to be maintained and still open-source, 0039 // article citations are crucial. 0040 // If you use Geant4-DNA chemistry and you publish papers about your software, 0041 // in addition to the general paper on Geant4-DNA: 0042 // 0043 // Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178 0044 // 0045 // we would be very happy if you could please also cite the following 0046 // reference papers on chemistry: 0047 // 0048 // J. Comput. Phys. 274 (2014) 841-882 0049 // Prog. Nucl. Sci. Tec. 2 (2011) 503-508 0050 0051 #ifndef G4ITSTEPPINGMESSENGER_H 0052 #define G4ITSTEPPINGMESSENGER_H 0053 0054 class G4Scheduler; 0055 class G4UIdirectory; 0056 class G4UIcmdWithoutParameter; 0057 class G4UIcmdWithAnInteger; 0058 class G4UIcommand; 0059 class G4UIcmdWithADoubleAndUnit; 0060 class G4UIcmdWithABool; 0061 class G4UIcmdWithAString; 0062 #include "G4UImessenger.hh" 0063 #include "globals.hh" 0064 0065 class G4SchedulerMessenger : public G4UImessenger 0066 { 0067 public: 0068 explicit G4SchedulerMessenger(G4Scheduler* runMgr); 0069 ~G4SchedulerMessenger() override; 0070 void SetNewValue(G4UIcommand* command, G4String newValues) override; 0071 G4String GetCurrentValue(G4UIcommand* command) override; 0072 0073 private: 0074 G4Scheduler* fScheduler; 0075 0076 private: // commands 0077 std::unique_ptr<G4UIdirectory> fITDirectory; 0078 std::unique_ptr<G4UIcmdWithADoubleAndUnit> fEndTime; 0079 std::unique_ptr<G4UIcmdWithADoubleAndUnit> fTimeTolerance; 0080 std::unique_ptr<G4UIcmdWithAnInteger> fVerboseCmd; 0081 std::unique_ptr<G4UIcmdWithAnInteger> fMaxStepNumber; 0082 std::unique_ptr<G4UIcmdWithoutParameter> fInitCmd; 0083 std::unique_ptr<G4UIcmdWithoutParameter> fProcessCmd; 0084 std::unique_ptr<G4UIcmdWithAnInteger> fMaxNULLTimeSteps; 0085 std::unique_ptr<G4UIcmdWithoutParameter> fWhyDoYouStop; 0086 std::unique_ptr<G4UIcmdWithABool> fUseDefaultTimeSteps; 0087 std::unique_ptr<G4UIcmdWithABool> fResetScavenger; 0088 }; 0089 0090 #endif // G4ITSTEPPINGMESSENGER_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |