Geant4  10.00.p02
DMXRunActionMessenger Class Reference

#include <DMXRunActionMessenger.hh>

+ Inheritance diagram for DMXRunActionMessenger:
+ Collaboration diagram for DMXRunActionMessenger:

Public Member Functions

 DMXRunActionMessenger (DMXRunAction *)
 
 ~DMXRunActionMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 

Private Attributes

DMXRunActionDMXRun
 
G4UIcmdWithAStringSaveHitsCmd
 
G4UIcmdWithAStringSavePmtCmd
 
G4UIcmdWithAStringSaveHistFileCmd
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 

Detailed Description

Definition at line 54 of file DMXRunActionMessenger.hh.

Constructor & Destructor Documentation

DMXRunActionMessenger::DMXRunActionMessenger ( DMXRunAction run)

Definition at line 55 of file DMXRunActionMessenger.cc.

References SaveHistFileCmd, SaveHitsCmd, SavePmtCmd, G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().

+ Here is the call graph for this function:

DMXRunActionMessenger::~DMXRunActionMessenger ( )

Definition at line 83 of file DMXRunActionMessenger.cc.

References SaveHistFileCmd, SaveHitsCmd, and SavePmtCmd.

Member Function Documentation

void DMXRunActionMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 92 of file DMXRunActionMessenger.cc.

References DMXRun, SaveHistFileCmd, SaveHitsCmd, SavePmtCmd, DMXRunAction::SetsavehistFile(), DMXRunAction::SetsavehitsFile(), and DMXRunAction::SetsavepmtFile().

+ Here is the call graph for this function:

Member Data Documentation

DMXRunAction* DMXRunActionMessenger::DMXRun
private

Definition at line 63 of file DMXRunActionMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithAString* DMXRunActionMessenger::SaveHistFileCmd
private
G4UIcmdWithAString* DMXRunActionMessenger::SaveHitsCmd
private
G4UIcmdWithAString* DMXRunActionMessenger::SavePmtCmd
private

The documentation for this class was generated from the following files: