1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // |
---|
27 | // $Id: G4UIcontrolMessenger.hh,v 1.12 2007/06/06 15:14:51 asaim Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
29 | // |
---|
30 | |
---|
31 | #ifndef G4UIcontrolMessenger_h |
---|
32 | #define G4UIcontrolMessenger_h 1 |
---|
33 | |
---|
34 | #include "G4UImessenger.hh" |
---|
35 | |
---|
36 | class G4UIdirectory; |
---|
37 | class G4UIcmdWithAString; |
---|
38 | class G4UIcmdWithAnInteger; |
---|
39 | class G4UIcmdWithoutParameter; |
---|
40 | class G4UIcommand; |
---|
41 | |
---|
42 | // class description: |
---|
43 | // This class is a concrete class of G4UImessenger which defines |
---|
44 | // commands affecting to the G4UImanager. Commands defined by |
---|
45 | // this messenger are |
---|
46 | // /control/ |
---|
47 | // /control/execute |
---|
48 | // /control/loop |
---|
49 | // /control/foreach |
---|
50 | // /control/suppressAbortion |
---|
51 | // /control/verbose |
---|
52 | // /control/saveHistory |
---|
53 | // /control/stopSavingHistory |
---|
54 | // /control/alias |
---|
55 | // /control/unalias |
---|
56 | // /control/listAlias |
---|
57 | // /control/getEnv |
---|
58 | // /control/echo |
---|
59 | // /control/shell |
---|
60 | // /control/manual |
---|
61 | // /control/createHTML |
---|
62 | // /control/maximumStoredHistory |
---|
63 | |
---|
64 | class G4UIcontrolMessenger : public G4UImessenger |
---|
65 | { |
---|
66 | public: |
---|
67 | G4UIcontrolMessenger(); |
---|
68 | ~G4UIcontrolMessenger(); |
---|
69 | void SetNewValue(G4UIcommand * command,G4String newValue); |
---|
70 | G4String GetCurrentValue(G4UIcommand * command); |
---|
71 | |
---|
72 | private: |
---|
73 | G4UIdirectory * controlDirectory; |
---|
74 | G4UIcmdWithAString * ExecuteCommand; |
---|
75 | G4UIcmdWithAnInteger * suppressAbortionCommand; |
---|
76 | G4UIcmdWithAnInteger * verboseCommand; |
---|
77 | G4UIcmdWithAString * historyCommand; |
---|
78 | G4UIcmdWithoutParameter * stopStoreHistoryCommand; |
---|
79 | G4UIcommand * aliasCommand; |
---|
80 | G4UIcmdWithAString * unaliasCommand; |
---|
81 | G4UIcmdWithoutParameter * listAliasCommand; |
---|
82 | G4UIcmdWithAString * getEnvCmd; |
---|
83 | G4UIcmdWithAString * echoCmd; |
---|
84 | G4UIcmdWithAString * shellCommand; |
---|
85 | G4UIcommand * loopCommand; |
---|
86 | G4UIcommand * foreachCommand; |
---|
87 | G4UIcmdWithAString * ManualCommand; |
---|
88 | G4UIcmdWithAString * HTMLCommand; |
---|
89 | G4UIcmdWithAnInteger * maxStoredHistCommand; |
---|
90 | }; |
---|
91 | |
---|
92 | #endif |
---|
93 | |
---|