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: G4VisCommands.hh,v 1.8 2009/03/09 12:42:00 allison Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
29 | |
---|
30 | // /vis/ top level commands - John Allison 5th February 2001 |
---|
31 | |
---|
32 | #ifndef G4VISCOMMANDS_HH |
---|
33 | #define G4VISCOMMANDS_HH |
---|
34 | |
---|
35 | #include "G4VVisCommand.hh" |
---|
36 | |
---|
37 | class G4UIcmdWithABool; |
---|
38 | class G4UIcmdWithAString; |
---|
39 | class G4UIcmdWithoutParameter; |
---|
40 | |
---|
41 | class G4VisCommandAbortReviewKeptEvents: public G4VVisCommand { |
---|
42 | public: |
---|
43 | G4VisCommandAbortReviewKeptEvents (); |
---|
44 | virtual ~G4VisCommandAbortReviewKeptEvents (); |
---|
45 | G4String GetCurrentValue (G4UIcommand* command); |
---|
46 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
47 | private: |
---|
48 | G4VisCommandAbortReviewKeptEvents (const G4VisCommandAbortReviewKeptEvents&); |
---|
49 | G4VisCommandAbortReviewKeptEvents& operator = (const G4VisCommandAbortReviewKeptEvents&); |
---|
50 | G4UIcmdWithABool* fpCommand; |
---|
51 | }; |
---|
52 | |
---|
53 | class G4VisCommandEnable: public G4VVisCommand { |
---|
54 | public: |
---|
55 | G4VisCommandEnable (); |
---|
56 | virtual ~G4VisCommandEnable (); |
---|
57 | G4String GetCurrentValue (G4UIcommand* command); |
---|
58 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
59 | private: |
---|
60 | G4VisCommandEnable (const G4VisCommandEnable&); |
---|
61 | G4VisCommandEnable& operator = (const G4VisCommandEnable&); |
---|
62 | G4UIcmdWithABool* fpCommand; |
---|
63 | G4UIcmdWithoutParameter* fpCommand1; |
---|
64 | }; |
---|
65 | |
---|
66 | class G4VisCommandInitialize: public G4VVisCommand { |
---|
67 | public: |
---|
68 | G4VisCommandInitialize (); |
---|
69 | virtual ~G4VisCommandInitialize (); |
---|
70 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
71 | private: |
---|
72 | G4VisCommandInitialize (const G4VisCommandInitialize&); |
---|
73 | G4VisCommandInitialize& operator = (const G4VisCommandInitialize&); |
---|
74 | G4UIcmdWithoutParameter* fpCommand; |
---|
75 | }; |
---|
76 | |
---|
77 | class G4VisCommandList: public G4VVisCommand { |
---|
78 | public: |
---|
79 | G4VisCommandList (); |
---|
80 | virtual ~G4VisCommandList (); |
---|
81 | G4String GetCurrentValue (G4UIcommand* command); |
---|
82 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
83 | private: |
---|
84 | G4VisCommandList (const G4VisCommandList&); |
---|
85 | G4VisCommandList& operator = (const G4VisCommandList&); |
---|
86 | G4UIcmdWithAString* fpCommand; |
---|
87 | }; |
---|
88 | |
---|
89 | class G4VisCommandReviewKeptEvents: public G4VVisCommand { |
---|
90 | public: |
---|
91 | G4VisCommandReviewKeptEvents (); |
---|
92 | virtual ~G4VisCommandReviewKeptEvents (); |
---|
93 | G4String GetCurrentValue (G4UIcommand* command); |
---|
94 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
95 | private: |
---|
96 | G4VisCommandReviewKeptEvents (const G4VisCommandReviewKeptEvents&); |
---|
97 | G4VisCommandReviewKeptEvents& operator = (const G4VisCommandReviewKeptEvents&); |
---|
98 | G4UIcmdWithAString* fpCommand; |
---|
99 | }; |
---|
100 | |
---|
101 | class G4VisCommandVerbose: public G4VVisCommand { |
---|
102 | public: |
---|
103 | G4VisCommandVerbose (); |
---|
104 | virtual ~G4VisCommandVerbose (); |
---|
105 | G4String GetCurrentValue (G4UIcommand* command); |
---|
106 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
107 | private: |
---|
108 | G4VisCommandVerbose (const G4VisCommandVerbose&); |
---|
109 | G4VisCommandVerbose& operator = (const G4VisCommandVerbose&); |
---|
110 | G4UIcmdWithAString* fpCommand; |
---|
111 | }; |
---|
112 | |
---|
113 | #endif |
---|