Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:23

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 
0028 // /vis/ top level commands - John Allison  5th February 2001
0029 
0030 #ifndef G4VISCOMMANDS_HH
0031 #define G4VISCOMMANDS_HH
0032 
0033 #include "G4VVisCommand.hh"
0034 
0035 class G4UIcmdWithABool;
0036 class G4UIcmdWithAString;
0037 class G4UIcmdWithoutParameter;
0038 
0039 class G4VisCommandAbortReviewKeptEvents: public G4VVisCommand {
0040 public:
0041   G4VisCommandAbortReviewKeptEvents ();
0042   virtual ~G4VisCommandAbortReviewKeptEvents ();
0043   G4String GetCurrentValue (G4UIcommand* command);
0044   void SetNewValue (G4UIcommand* command, G4String newValue);
0045 private:
0046   G4VisCommandAbortReviewKeptEvents (const G4VisCommandAbortReviewKeptEvents&);
0047   G4VisCommandAbortReviewKeptEvents& operator = (const G4VisCommandAbortReviewKeptEvents&);
0048   G4UIcmdWithABool* fpCommand;
0049 };
0050 
0051 class G4VisCommandAbortReviewPlots: public G4VVisCommand {
0052 public:
0053   G4VisCommandAbortReviewPlots ();
0054   virtual ~G4VisCommandAbortReviewPlots ();
0055   G4String GetCurrentValue (G4UIcommand* command);
0056   void SetNewValue (G4UIcommand* command, G4String newValue);
0057 private:
0058   G4VisCommandAbortReviewPlots (const G4VisCommandAbortReviewPlots&);
0059   G4VisCommandAbortReviewPlots& operator = (const G4VisCommandAbortReviewKeptEvents&);
0060   G4UIcmdWithABool* fpCommand;
0061 };
0062 
0063 class G4VisCommandDrawOnlyToBeKeptEvents: public G4VVisCommand {
0064 public:
0065   G4VisCommandDrawOnlyToBeKeptEvents ();
0066   virtual ~G4VisCommandDrawOnlyToBeKeptEvents ();
0067   G4String GetCurrentValue (G4UIcommand* command);
0068   void SetNewValue (G4UIcommand* command, G4String newValue);
0069 private:
0070   G4VisCommandDrawOnlyToBeKeptEvents (const G4VisCommandDrawOnlyToBeKeptEvents&);
0071   G4VisCommandDrawOnlyToBeKeptEvents& operator = (const G4VisCommandDrawOnlyToBeKeptEvents&);
0072   G4UIcmdWithABool* fpCommand;
0073 };
0074 
0075 class G4VisCommandEnable: public G4VVisCommand {
0076 public:
0077   G4VisCommandEnable ();
0078   virtual ~G4VisCommandEnable ();
0079   G4String GetCurrentValue (G4UIcommand* command);
0080   void SetNewValue (G4UIcommand* command, G4String newValue);
0081 private:
0082   G4VisCommandEnable (const G4VisCommandEnable&);
0083   G4VisCommandEnable& operator = (const G4VisCommandEnable&);
0084   G4UIcmdWithABool* fpCommand;
0085   G4UIcmdWithoutParameter* fpCommand1;
0086 };
0087 
0088 class G4VisCommandInitialize: public G4VVisCommand {
0089 public:
0090   G4VisCommandInitialize ();
0091   virtual ~G4VisCommandInitialize ();
0092   void SetNewValue (G4UIcommand* command, G4String newValue);
0093 private:
0094   G4VisCommandInitialize (const G4VisCommandInitialize&);
0095   G4VisCommandInitialize& operator = (const G4VisCommandInitialize&);
0096   G4UIcmdWithoutParameter* fpCommand;
0097 };
0098 
0099 class G4VisCommandList: public G4VVisCommand {
0100 public:
0101   G4VisCommandList ();
0102   virtual ~G4VisCommandList ();
0103   G4String GetCurrentValue (G4UIcommand* command);
0104   void SetNewValue (G4UIcommand* command, G4String newValue);
0105 private:
0106   G4VisCommandList (const G4VisCommandList&);
0107   G4VisCommandList& operator = (const G4VisCommandList&);
0108   G4UIcmdWithAString* fpCommand;
0109 };
0110 
0111 class G4VisCommandReviewKeptEvents: public G4VVisCommand {
0112 public:
0113   G4VisCommandReviewKeptEvents ();
0114   virtual ~G4VisCommandReviewKeptEvents ();
0115   G4String GetCurrentValue (G4UIcommand* command);
0116   void SetNewValue (G4UIcommand* command, G4String newValue);
0117 private:
0118   G4VisCommandReviewKeptEvents (const G4VisCommandReviewKeptEvents&);
0119   G4VisCommandReviewKeptEvents& operator = (const G4VisCommandReviewKeptEvents&);
0120   G4UIcmdWithAString* fpCommand;
0121 };
0122 
0123 class G4VisCommandReviewPlots: public G4VVisCommand {
0124 public:
0125   G4VisCommandReviewPlots ();
0126   virtual ~G4VisCommandReviewPlots ();
0127   G4String GetCurrentValue (G4UIcommand* command);
0128   void SetNewValue (G4UIcommand* command, G4String newValue);
0129 private:
0130   G4VisCommandReviewPlots (const G4VisCommandReviewPlots&);
0131   G4VisCommandReviewPlots& operator = (const G4VisCommandReviewPlots&);
0132   G4UIcmdWithoutParameter* fpCommand;
0133 };
0134 
0135 class G4VisCommandVerbose: public G4VVisCommand {
0136 public:
0137   G4VisCommandVerbose ();
0138   virtual ~G4VisCommandVerbose ();
0139   G4String GetCurrentValue (G4UIcommand* command);
0140   void SetNewValue (G4UIcommand* command, G4String newValue);
0141 private:
0142   G4VisCommandVerbose (const G4VisCommandVerbose&);
0143   G4VisCommandVerbose& operator = (const G4VisCommandVerbose&);
0144   G4UIcmdWithAString* fpCommand;
0145 };
0146 
0147 #endif