source: tags/Visualization_after-vis09-02-01-tag/management/include/G4VisCommandsScene.hh @ 958

Last change on this file since 958 was 958, checked in by garnier, 15 years ago

tag

  • Property svn:mime-type set to text/cpp
File size: 4.9 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: G4VisCommandsScene.hh,v 1.19 2006/11/14 14:59:54 allison Exp $
28// GEANT4 tag $Name:  $
29
30// /vis/scene commands - John Allison  9th August 1998
31
32#ifndef G4VISCOMMANDSSCENE_HH
33#define G4VISCOMMANDSSCENE_HH
34
35#include "G4VVisCommand.hh"
36
37class G4UIcommand;
38class G4UIcmdWithAString;
39class G4UIcmdWithoutParameter;
40
41class G4VVisCommandScene: public G4VVisCommand {
42public:
43  G4VVisCommandScene ();
44  virtual ~G4VVisCommandScene ();
45protected:
46  G4String CurrentSceneName ();
47private:
48  G4VVisCommandScene (const G4VVisCommandScene&);
49  G4VVisCommandScene& operator = (const G4VVisCommandScene&);
50};
51
52class G4VisCommandSceneCreate: public G4VVisCommandScene {
53public:
54  G4VisCommandSceneCreate ();
55  virtual ~G4VisCommandSceneCreate ();
56  G4String GetCurrentValue (G4UIcommand* command);
57  void SetNewValue (G4UIcommand* command, G4String newValue);
58private:
59  G4VisCommandSceneCreate (const G4VisCommandSceneCreate&);
60  G4VisCommandSceneCreate& operator = (const G4VisCommandSceneCreate&);
61  G4String NextName ();
62  G4UIcmdWithAString* fpCommand;
63  G4int fId;
64};
65
66class G4VisCommandSceneEndOfEventAction: public G4VVisCommandScene {
67public:
68  G4VisCommandSceneEndOfEventAction ();
69  virtual ~G4VisCommandSceneEndOfEventAction ();
70  G4String GetCurrentValue (G4UIcommand* command);
71  void SetNewValue (G4UIcommand* command, G4String newValue);
72private:
73  G4VisCommandSceneEndOfEventAction (const G4VisCommandSceneEndOfEventAction&);
74  G4VisCommandSceneEndOfEventAction& operator =
75  (const G4VisCommandSceneEndOfEventAction&);
76  G4UIcommand* fpCommand;
77};
78
79class G4VisCommandSceneEndOfRunAction: public G4VVisCommandScene {
80public:
81  G4VisCommandSceneEndOfRunAction ();
82  virtual ~G4VisCommandSceneEndOfRunAction ();
83  G4String GetCurrentValue (G4UIcommand* command);
84  void SetNewValue (G4UIcommand* command, G4String newValue);
85private:
86  G4VisCommandSceneEndOfRunAction (const G4VisCommandSceneEndOfRunAction&);
87  G4VisCommandSceneEndOfRunAction& operator =
88  (const G4VisCommandSceneEndOfRunAction&);
89  G4UIcmdWithAString* fpCommand;
90};
91
92class G4VisCommandSceneList: public G4VVisCommandScene {
93public:
94  G4VisCommandSceneList ();
95  virtual ~G4VisCommandSceneList ();
96  G4String GetCurrentValue (G4UIcommand* command);
97  void SetNewValue (G4UIcommand* command, G4String newValue);
98private:
99  G4VisCommandSceneList (const G4VisCommandSceneList&);
100  G4VisCommandSceneList& operator = (const G4VisCommandSceneList&);
101  G4UIcommand* fpCommand;
102};
103
104class G4VisCommandSceneNotifyHandlers: public G4VVisCommandScene {
105public:
106  G4VisCommandSceneNotifyHandlers ();
107  virtual ~G4VisCommandSceneNotifyHandlers ();
108  G4String GetCurrentValue (G4UIcommand* command);
109  void SetNewValue (G4UIcommand* command, G4String newValue);
110private:
111  G4VisCommandSceneNotifyHandlers (const G4VisCommandSceneNotifyHandlers&);
112  G4VisCommandSceneNotifyHandlers& operator =
113  (const G4VisCommandSceneNotifyHandlers&);
114  G4UIcommand* fpCommand;
115};
116
117class G4VisCommandSceneSelect: public G4VVisCommandScene {
118public:
119  G4VisCommandSceneSelect ();
120  virtual ~G4VisCommandSceneSelect ();
121  G4String GetCurrentValue (G4UIcommand* command);
122  void SetNewValue (G4UIcommand* command, G4String newValue);
123private:
124  G4VisCommandSceneSelect (const G4VisCommandSceneSelect&);
125  G4VisCommandSceneSelect& operator = (const G4VisCommandSceneSelect&);
126  G4UIcmdWithAString* fpCommand;
127};
128
129#endif
Note: See TracBrowser for help on using the repository browser.