// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * 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. * // * * // * This code implementation is the intellectual property of the * // * GEANT4 collaboration. * // * By copying, distributing or modifying the Program (or any work * // * based on the Program) you indicate your acceptance of this * // * statement, and all its terms. * // ******************************************************************** // // // $Id: G4UIcontrolMessenger.hh,v 1.10 2002/05/15 06:51:31 asaim Exp $ // GEANT4 tag $Name: geant4-05-02-patch-01 $ // #ifndef G4UIcontrolMessenger_h #define G4UIcontrolMessenger_h 1 #include "G4UImessenger.hh" class G4UIdirectory; class G4UIcmdWithAString; class G4UIcmdWithAnInteger; class G4UIcmdWithoutParameter; class G4UIcommand; // class description: // This class is a concrete class of G4UImessenger which defines // commands affecting to the G4UImanager. Commands defined by // this messenger are // /control/ // /control/execute // /control/loop // /control/foreach // /control/suppressAbortion // /control/verbose // /control/saveHistory // /control/stopSavingHistory // /control/alias // /control/unalias // /control/listAlias // /control/shell // /control/manual // /control/createHTML // /control/maximumStoredHistory class G4UIcontrolMessenger : public G4UImessenger { public: G4UIcontrolMessenger(); ~G4UIcontrolMessenger(); void SetNewValue(G4UIcommand * command,G4String newValue); G4String GetCurrentValue(G4UIcommand * command); private: G4UIdirectory * controlDirectory; G4UIcmdWithAString * ExecuteCommand; G4UIcmdWithAnInteger * suppressAbortionCommand; G4UIcmdWithAnInteger * verboseCommand; G4UIcmdWithAString * historyCommand; G4UIcmdWithoutParameter * stopStoreHistoryCommand; G4UIcommand * aliasCommand; G4UIcmdWithAString * unaliasCommand; G4UIcmdWithoutParameter * listAliasCommand; G4UIcmdWithAString * shellCommand; G4UIcommand * loopCommand; G4UIcommand * foreachCommand; G4UIcmdWithAString * ManualCommand; G4UIcmdWithAString * HTMLCommand; G4UIcmdWithAnInteger * maxStoredHistCommand; }; #endif