source: trunk/geant4/visualization/management/include/G4VisCommands.hh @ 537

Last change on this file since 537 was 531, checked in by garnier, 17 years ago

r660@mac-90108: laurentgarnier | 2007-06-25 16:10:12 +0200
ajout de fichiers NON modifies

  • Property svn:mime-type set to text/cpp
File size: 3.6 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.6 2006/11/14 14:59:54 allison Exp $
28// GEANT4 tag $Name: geant4-08-02-patch-01 $
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 G4VisCommandEnable: public G4VVisCommand {
42public:
43  G4VisCommandEnable ();
44  virtual ~G4VisCommandEnable ();
45  G4String GetCurrentValue (G4UIcommand* command);
46  void SetNewValue (G4UIcommand* command, G4String newValue);
47private:
48  G4VisCommandEnable (const G4VisCommandEnable&);
49  G4VisCommandEnable& operator = (const G4VisCommandEnable&);
50  G4UIcmdWithABool* fpCommand;
51  G4UIcmdWithoutParameter* fpCommand1;
52};
53
54class G4VisCommandList: public G4VVisCommand {
55public:
56  G4VisCommandList ();
57  virtual ~G4VisCommandList ();
58  G4String GetCurrentValue (G4UIcommand* command);
59  void SetNewValue (G4UIcommand* command, G4String newValue);
60private:
61  G4VisCommandList (const G4VisCommandList&);
62  G4VisCommandList& operator = (const G4VisCommandList&);
63  G4UIcmdWithAString* fpCommand;
64};
65
66class G4VisCommandReviewKeptEvents: public G4VVisCommand {
67public:
68  G4VisCommandReviewKeptEvents ();
69  virtual ~G4VisCommandReviewKeptEvents ();
70  G4String GetCurrentValue (G4UIcommand* command);
71  void SetNewValue (G4UIcommand* command, G4String newValue);
72private:
73  G4VisCommandReviewKeptEvents (const G4VisCommandReviewKeptEvents&);
74  G4VisCommandReviewKeptEvents& operator = (const G4VisCommandReviewKeptEvents&);
75  G4UIcmdWithAString* fpCommand;
76};
77
78class G4VisCommandVerbose: public G4VVisCommand {
79public:
80  G4VisCommandVerbose ();
81  virtual ~G4VisCommandVerbose ();
82  G4String GetCurrentValue (G4UIcommand* command);
83  void SetNewValue (G4UIcommand* command, G4String newValue);
84private:
85  G4VisCommandVerbose (const G4VisCommandVerbose&);
86  G4VisCommandVerbose& operator = (const G4VisCommandVerbose&);
87  G4UIcmdWithAString* fpCommand;
88};
89
90#endif
Note: See TracBrowser for help on using the repository browser.