Geant4
10.03.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4UIcontrolMessenger.hh
Go to the documentation of this file.
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 102562 2017-02-09 08:27:31Z gcosmo $
28
//
29
30
#ifndef G4UIcontrolMessenger_h
31
#define G4UIcontrolMessenger_h 1
32
33
#include "
G4UImessenger.hh
"
34
35
class
G4UIdirectory
;
36
class
G4UIcmdWithAString
;
37
class
G4UIcmdWithABool
;
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/macroPath
48
// /control/execute
49
// /control/loop
50
// /control/foreach
51
// /control/suppressAbortion
52
// /control/verbose
53
// /control/useDoublePrecision
54
// /control/saveHistory
55
// /control/stopSavingHistory
56
// /control/alias
57
// /control/unalias
58
// /control/listAlias
59
// /control/getEnv
60
// /control/getVal
61
// /control/echo
62
// /control/shell
63
// /control/manual
64
// /control/createHTML
65
// /control/maximumStoredHistory
66
// /control/if
67
// /control/doif
68
// /control/add
69
// /control/subtract
70
// /control/multiply
71
// /control/divide
72
// /control/strif
73
// /control/strdoif
74
// /control/ifBatch
75
// /control/ifInteractive
76
// /control/doifBatch
77
// /control/doifInteractive
78
79
class
G4UIcontrolMessenger
:
public
G4UImessenger
80
{
81
public
:
82
G4UIcontrolMessenger
();
83
~G4UIcontrolMessenger
();
84
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
85
G4String
GetCurrentValue
(
G4UIcommand
* command);
86
87
private
:
88
G4UIdirectory
* controlDirectory;
89
G4UIcmdWithAString
* macroPathCommand;
90
G4UIcmdWithAString
* ExecuteCommand;
91
G4UIcmdWithAnInteger
* suppressAbortionCommand;
92
G4UIcmdWithAnInteger
* verboseCommand;
93
G4UIcmdWithABool
* doublePrecCommand;
94
G4UIcmdWithAString
* historyCommand;
95
G4UIcmdWithoutParameter
* stopStoreHistoryCommand;
96
G4UIcommand
* aliasCommand;
97
G4UIcmdWithAString
* unaliasCommand;
98
G4UIcmdWithoutParameter
* listAliasCommand;
99
G4UIcmdWithAString
* getEnvCmd;
100
G4UIcommand
* getValCmd;
101
G4UIcmdWithAString
* echoCmd;
102
G4UIcmdWithAString
* shellCommand;
103
G4UIcommand
* loopCommand;
104
G4UIcommand
* foreachCommand;
105
G4UIcmdWithAString
* ManualCommand;
106
G4UIcmdWithAString
* HTMLCommand;
107
G4UIcmdWithAnInteger
* maxStoredHistCommand;
108
G4UIcommand
* ifCommand;
109
G4UIcommand
* doifCommand;
110
G4UIcommand
* addCommand;
111
G4UIcommand
* subtractCommand;
112
G4UIcommand
* multiplyCommand;
113
G4UIcommand
* divideCommand;
114
G4UIcommand
* remainderCommand;
115
G4UIcommand
* strifCommand;
116
G4UIcommand
* strdoifCommand;
117
G4UIcmdWithAString
* ifBatchCommand;
118
G4UIcmdWithAString
* ifInteractiveCommand;
119
G4UIcmdWithAString
* doifBatchCommand;
120
G4UIcmdWithAString
* doifInteractiveCommand;
121
};
122
123
#endif
124
G4UIcontrolMessenger::~G4UIcontrolMessenger
~G4UIcontrolMessenger()
Definition:
G4UIcontrolMessenger.cc:330
G4UIdirectory
Definition:
G4UIdirectory.hh:41
G4UIcontrolMessenger::G4UIcontrolMessenger
G4UIcontrolMessenger()
Definition:
G4UIcontrolMessenger.cc:47
G4UImessenger.hh
G4UIcontrolMessenger::SetNewValue
void SetNewValue(G4UIcommand *command, G4String newValue)
Definition:
G4UIcontrolMessenger.cc:368
G4UIcommand
Definition:
G4UIcommand.hh:51
G4UIcontrolMessenger
Definition:
G4UIcontrolMessenger.hh:79
G4UIcmdWithAnInteger
Definition:
G4UIcmdWithAnInteger.hh:41
G4UIcmdWithABool
Definition:
G4UIcmdWithABool.hh:45
G4UIcmdWithoutParameter
Definition:
G4UIcmdWithoutParameter.hh:41
G4UIcontrolMessenger::GetCurrentValue
G4String GetCurrentValue(G4UIcommand *command)
Definition:
G4UIcontrolMessenger.cc:641
G4UIcmdWithAString
Definition:
G4UIcmdWithAString.hh:42
G4UImessenger
Definition:
G4UImessenger.hh:47
G4String
Definition:
G4String.hh:45
source
geant4.10.03.p03
source
intercoms
include
G4UIcontrolMessenger.hh
Generated on Tue Nov 28 2017 21:43:59 for Geant4 by
1.8.5