G4UIcontrolMessenger.hh

Go to the documentation of this file.
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 //
00027 // $Id$
00028 //
00029 
00030 #ifndef G4UIcontrolMessenger_h
00031 #define G4UIcontrolMessenger_h 1
00032 
00033 #include "G4UImessenger.hh"
00034 
00035 class G4UIdirectory;
00036 class G4UIcmdWithAString;
00037 class G4UIcmdWithAnInteger;
00038 class G4UIcmdWithoutParameter;
00039 class G4UIcommand;
00040 
00041 // class description:
00042 //  This class is a concrete class of G4UImessenger which defines
00043 // commands affecting to the G4UImanager. Commands defined by
00044 // this messenger are
00045 //   /control/ 
00046 //   /control/macroPath
00047 //   /control/execute
00048 //   /control/loop
00049 //   /control/foreach
00050 //   /control/suppressAbortion
00051 //   /control/verbose
00052 //   /control/saveHistory
00053 //   /control/stopSavingHistory
00054 //   /control/alias
00055 //   /control/unalias
00056 //   /control/listAlias
00057 //   /control/getEnv
00058 //   /control/echo
00059 //   /control/shell
00060 //   /control/manual
00061 //   /control/createHTML
00062 //   /control/maximumStoredHistory
00063 //   /control/if
00064 //   /control/add
00065 //   /control/subtract
00066 //   /control/multiply
00067 //   /control/divide
00068 
00069 class G4UIcontrolMessenger : public G4UImessenger 
00070 {
00071   public:
00072       G4UIcontrolMessenger();
00073       ~G4UIcontrolMessenger();
00074       void SetNewValue(G4UIcommand * command,G4String newValue);
00075       G4String GetCurrentValue(G4UIcommand * command);
00076 
00077   private:
00078       G4UIdirectory * controlDirectory;
00079       G4UIcmdWithAString * macroPathCommand;
00080       G4UIcmdWithAString * ExecuteCommand;
00081       G4UIcmdWithAnInteger * suppressAbortionCommand;
00082       G4UIcmdWithAnInteger * verboseCommand;
00083       G4UIcmdWithAString * historyCommand;
00084       G4UIcmdWithoutParameter * stopStoreHistoryCommand;
00085       G4UIcommand * aliasCommand;
00086       G4UIcmdWithAString * unaliasCommand;
00087       G4UIcmdWithoutParameter * listAliasCommand;
00088       G4UIcmdWithAString * getEnvCmd;
00089       G4UIcmdWithAString * echoCmd;
00090       G4UIcmdWithAString * shellCommand;
00091       G4UIcommand * loopCommand;
00092       G4UIcommand * foreachCommand;
00093       G4UIcmdWithAString * ManualCommand;
00094       G4UIcmdWithAString * HTMLCommand;
00095       G4UIcmdWithAnInteger * maxStoredHistCommand;
00096       G4UIcommand * ifCommand;
00097       G4UIcommand * addCommand;
00098       G4UIcommand * subtractCommand;
00099       G4UIcommand * multiplyCommand;
00100       G4UIcommand * divideCommand;
00101       G4UIcommand * remainderCommand;
00102 };
00103 
00104 #endif
00105 

Generated on Mon May 27 17:50:05 2013 for Geant4 by  doxygen 1.4.7