Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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$
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
G4UIcmdWithAnInteger
;
38
class
G4UIcmdWithoutParameter
;
39
class
G4UIcommand
;
40
41
// class description:
42
// This class is a concrete class of G4UImessenger which defines
43
// commands affecting to the G4UImanager. Commands defined by
44
// this messenger are
45
// /control/
46
// /control/macroPath
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
// /control/if
64
// /control/add
65
// /control/subtract
66
// /control/multiply
67
// /control/divide
68
69
class
G4UIcontrolMessenger
:
public
G4UImessenger
70
{
71
public
:
72
G4UIcontrolMessenger
();
73
~G4UIcontrolMessenger
();
74
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
75
G4String
GetCurrentValue
(
G4UIcommand
* command);
76
77
private
:
78
G4UIdirectory
* controlDirectory;
79
G4UIcmdWithAString
* macroPathCommand;
80
G4UIcmdWithAString
* ExecuteCommand;
81
G4UIcmdWithAnInteger
* suppressAbortionCommand;
82
G4UIcmdWithAnInteger
* verboseCommand;
83
G4UIcmdWithAString
* historyCommand;
84
G4UIcmdWithoutParameter
* stopStoreHistoryCommand;
85
G4UIcommand
* aliasCommand;
86
G4UIcmdWithAString
* unaliasCommand;
87
G4UIcmdWithoutParameter
* listAliasCommand;
88
G4UIcmdWithAString
* getEnvCmd;
89
G4UIcmdWithAString
* echoCmd;
90
G4UIcmdWithAString
* shellCommand;
91
G4UIcommand
* loopCommand;
92
G4UIcommand
* foreachCommand;
93
G4UIcmdWithAString
* ManualCommand;
94
G4UIcmdWithAString
* HTMLCommand;
95
G4UIcmdWithAnInteger
* maxStoredHistCommand;
96
G4UIcommand
* ifCommand;
97
G4UIcommand
* addCommand;
98
G4UIcommand
* subtractCommand;
99
G4UIcommand
* multiplyCommand;
100
G4UIcommand
* divideCommand;
101
G4UIcommand
* remainderCommand;
102
};
103
104
#endif
105
G4UImessenger.hh
G4String
Definition:
G4String.hh:105
G4UIcmdWithAString
Definition:
G4UIcmdWithAString.hh:43
G4UIcmdWithAnInteger
Definition:
G4UIcmdWithAnInteger.hh:42
G4UIcmdWithoutParameter
Definition:
G4UIcmdWithoutParameter.hh:42
G4UIcommand
Definition:
G4UIcommand.hh:52
G4UIcontrolMessenger
Definition:
G4UIcontrolMessenger.hh:70
G4UIcontrolMessenger::~G4UIcontrolMessenger
~G4UIcontrolMessenger()
Definition:
G4UIcontrolMessenger.cc:238
G4UIcontrolMessenger::SetNewValue
void SetNewValue(G4UIcommand *command, G4String newValue)
Definition:
G4UIcontrolMessenger.cc:267
G4UIcontrolMessenger::GetCurrentValue
G4String GetCurrentValue(G4UIcommand *command)
Definition:
G4UIcontrolMessenger.cc:424
G4UIcontrolMessenger::G4UIcontrolMessenger
G4UIcontrolMessenger()
Definition:
G4UIcontrolMessenger.cc:45
G4UIdirectory
Definition:
G4UIdirectory.hh:42
G4UImessenger
Definition:
G4UImessenger.hh:48
geant4-v9.6.0
source
intercoms
include
G4UIcontrolMessenger.hh
Generated by
1.9.6