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

Last change on this file since 897 was 850, checked in by garnier, 17 years ago

geant4.8.2 beta

  • Property svn:mime-type set to text/cpp
File size: 4.0 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.7 2007/01/11 16:39:33 allison Exp $
28// GEANT4 tag $Name: HEAD $
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 G4VisCommandList: public G4VVisCommand {
67public:
68 G4VisCommandList ();
69 virtual ~G4VisCommandList ();
70 G4String GetCurrentValue (G4UIcommand* command);
71 void SetNewValue (G4UIcommand* command, G4String newValue);
72private:
73 G4VisCommandList (const G4VisCommandList&);
74 G4VisCommandList& operator = (const G4VisCommandList&);
75 G4UIcmdWithAString* fpCommand;
76};
77
78class G4VisCommandReviewKeptEvents: public G4VVisCommand {
79public:
80 G4VisCommandReviewKeptEvents ();
81 virtual ~G4VisCommandReviewKeptEvents ();
82 G4String GetCurrentValue (G4UIcommand* command);
83 void SetNewValue (G4UIcommand* command, G4String newValue);
84private:
85 G4VisCommandReviewKeptEvents (const G4VisCommandReviewKeptEvents&);
86 G4VisCommandReviewKeptEvents& operator = (const G4VisCommandReviewKeptEvents&);
87 G4UIcmdWithAString* fpCommand;
88};
89
90class G4VisCommandVerbose: public G4VVisCommand {
91public:
92 G4VisCommandVerbose ();
93 virtual ~G4VisCommandVerbose ();
94 G4String GetCurrentValue (G4UIcommand* command);
95 void SetNewValue (G4UIcommand* command, G4String newValue);
96private:
97 G4VisCommandVerbose (const G4VisCommandVerbose&);
98 G4VisCommandVerbose& operator = (const G4VisCommandVerbose&);
99 G4UIcmdWithAString* fpCommand;
100};
101
102#endif
Note: See TracBrowser for help on using the repository browser.