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
35class G4UIdirectory;
39class 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
70{
71 public:
74 void SetNewValue(G4UIcommand * command,G4String newValue);
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
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)