source: trunk/source/visualization/management/include/G4VisCommands.hh@ 1307

Last change on this file since 1307 was 944, checked in by garnier, 17 years ago

mise a jour des tags

  • Property svn:mime-type set to text/cpp
File size: 4.4 KB
Line 
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
37class G4UIcmdWithABool;
38class G4UIcmdWithAString;
39class G4UIcmdWithoutParameter;
40
41class G4VisCommandAbortReviewKeptEvents: public G4VVisCommand {
42public:
43 G4VisCommandAbortReviewKeptEvents ();
44 virtual ~G4VisCommandAbortReviewKeptEvents ();
45 G4String GetCurrentValue (G4UIcommand* command);
46 void SetNewValue (G4UIcommand* command, G4String newValue);
47private:
48 G4VisCommandAbortReviewKeptEvents (const G4VisCommandAbortReviewKeptEvents&);
49 G4VisCommandAbortReviewKeptEvents& operator = (const G4VisCommandAbortReviewKeptEvents&);
50 G4UIcmdWithABool* fpCommand;
51};
52
53class G4VisCommandEnable: public G4VVisCommand {
54public:
55 G4VisCommandEnable ();
56 virtual ~G4VisCommandEnable ();
57 G4String GetCurrentValue (G4UIcommand* command);
58 void SetNewValue (G4UIcommand* command, G4String newValue);
59private:
60 G4VisCommandEnable (const G4VisCommandEnable&);
61 G4VisCommandEnable& operator = (const G4VisCommandEnable&);
62 G4UIcmdWithABool* fpCommand;
63 G4UIcmdWithoutParameter* fpCommand1;
64};
65
66class G4VisCommandInitialize: public G4VVisCommand {
67public:
68 G4VisCommandInitialize ();
69 virtual ~G4VisCommandInitialize ();
70 void SetNewValue (G4UIcommand* command, G4String newValue);
71private:
72 G4VisCommandInitialize (const G4VisCommandInitialize&);
73 G4VisCommandInitialize& operator = (const G4VisCommandInitialize&);
74 G4UIcmdWithoutParameter* fpCommand;
75};
76
77class G4VisCommandList: public G4VVisCommand {
78public:
79 G4VisCommandList ();
80 virtual ~G4VisCommandList ();
81 G4String GetCurrentValue (G4UIcommand* command);
82 void SetNewValue (G4UIcommand* command, G4String newValue);
83private:
84 G4VisCommandList (const G4VisCommandList&);
85 G4VisCommandList& operator = (const G4VisCommandList&);
86 G4UIcmdWithAString* fpCommand;
87};
88
89class G4VisCommandReviewKeptEvents: public G4VVisCommand {
90public:
91 G4VisCommandReviewKeptEvents ();
92 virtual ~G4VisCommandReviewKeptEvents ();
93 G4String GetCurrentValue (G4UIcommand* command);
94 void SetNewValue (G4UIcommand* command, G4String newValue);
95private:
96 G4VisCommandReviewKeptEvents (const G4VisCommandReviewKeptEvents&);
97 G4VisCommandReviewKeptEvents& operator = (const G4VisCommandReviewKeptEvents&);
98 G4UIcmdWithAString* fpCommand;
99};
100
101class G4VisCommandVerbose: public G4VVisCommand {
102public:
103 G4VisCommandVerbose ();
104 virtual ~G4VisCommandVerbose ();
105 G4String GetCurrentValue (G4UIcommand* command);
106 void SetNewValue (G4UIcommand* command, G4String newValue);
107private:
108 G4VisCommandVerbose (const G4VisCommandVerbose&);
109 G4VisCommandVerbose& operator = (const G4VisCommandVerbose&);
110 G4UIcmdWithAString* fpCommand;
111};
112
113#endif
Note: See TracBrowser for help on using the repository browser.