File indexing completed on 2025-01-18 09:59:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
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