Warning, file /include/Geant4/G4ProcessTableMessenger.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #ifndef G4ProcessTableMessenger_hh
0043 #define G4ProcessTableMessenger_hh 1
0044
0045 #include "G4UImessenger.hh"
0046 #include "globals.hh"
0047 #include "G4ProcessType.hh"
0048
0049 class G4ProcessTable;
0050 class G4UIdirectory;
0051 class G4UIcmdWithoutParameter;
0052 class G4UIcmdWithAnInteger;
0053 class G4UIcmdWithAString;
0054
0055 class G4ProcessTableMessenger : public G4UImessenger
0056 {
0057 public:
0058
0059 G4ProcessTableMessenger(G4ProcessTable* pTable);
0060 virtual ~G4ProcessTableMessenger();
0061
0062 G4ProcessTableMessenger(const G4ProcessTableMessenger&) = delete;
0063 G4ProcessTableMessenger& operator=(const G4ProcessTableMessenger&) = delete;
0064
0065 virtual void SetNewValue(G4UIcommand * command,G4String newValues);
0066 virtual G4String GetCurrentValue(G4UIcommand * command);
0067
0068 private:
0069
0070 G4ProcessTableMessenger(){}
0071
0072 G4String GetProcessTypeName(G4ProcessType aType) const;
0073 G4int GetProcessType(const G4String& aTypeName) const;
0074 static G4ThreadLocal G4int NumberOfProcessType;
0075 void SetNumberOfProcessType();
0076
0077 private:
0078
0079 G4ProcessTable* theProcessTable = nullptr;
0080
0081 G4UIdirectory* thisDirectory = nullptr;
0082 G4UIcmdWithAnInteger* verboseCmd = nullptr;
0083 G4UIcmdWithAString* listCmd = nullptr;
0084 G4UIcommand* dumpCmd = nullptr;
0085 G4UIcommand* activateCmd = nullptr;
0086 G4UIcommand* inactivateCmd = nullptr;
0087 G4UIcommand* procVerboseCmd = nullptr;
0088
0089 G4String currentProcessTypeName = "all";
0090 G4String currentProcessName = "all";
0091 G4String currentParticleName = "all";
0092 };
0093
0094 #endif