00001 //-*-C++-*- 00002 // $Id: MyStackingActionMessenger.hh 80 2007-12-09 10:01:09Z comet $ 00003 00004 #ifndef MyStackingActionMessenger_HH 00005 #define MyStackingActionMessenger_HH 1 00006 00007 static const char* MyStackingActionMessenger_hh = 00008 "@(#) $Id: MyStackingActionMessenger.hh 80 2007-12-09 10:01:09Z comet $"; 00009 00010 class MyStackingAction; 00011 00012 #include "myglobals.hh" 00013 #include "G4UImessenger.hh" 00014 00015 class G4UIdirectory; 00016 class G4UIcmdWithADoubleAndUnit; 00017 class G4UIcmdWithAnInteger; 00018 class G4UIcmdWithoutParameter; 00019 00020 class MyStackingActionMessenger: public G4UImessenger { 00021 public: 00022 MyStackingActionMessenger(MyStackingAction* ); 00023 ~MyStackingActionMessenger(); 00024 00025 void SetNewValue(G4UIcommand*, G4String); 00026 00027 private: 00028 MyStackingAction* fStackingAction; 00029 00030 G4UIdirectory* fDir; 00031 G4UIcmdWithADoubleAndUnit* fEleCmd; 00032 G4UIcmdWithADoubleAndUnit* fPosCmd; 00033 G4UIcmdWithADoubleAndUnit* fGamCmd; 00034 00035 G4UIcmdWithAnInteger* fset_no_secCmd; 00036 G4UIcmdWithAnInteger* fset_no_MCCmd; 00037 G4UIcmdWithAnInteger* fset_no_PCCmd; 00038 G4UIcmdWithAnInteger* fadd_whiteCmd; 00039 G4UIcmdWithAnInteger* fadd_blackCmd; 00040 G4UIcmdWithoutParameter* fclear_whiteCmd; 00041 G4UIcmdWithoutParameter* fclear_blackCmd; 00042 00043 }; 00044 #endif