Geant4  10.02
GB03DetectorMessenger Class Reference

#include <GB03DetectorMessenger.hh>

+ Inheritance diagram for GB03DetectorMessenger:
+ Collaboration diagram for GB03DetectorMessenger:

Public Member Functions

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

Private Attributes

GB03DetectorConstructionfDetector
 
G4UIdirectoryfDirectory
 
G4UIcmdWithAStringfAbsMaterialCmd
 
G4UIcmdWithAStringfGapMaterialCmd
 
G4UIcmdWithAnIntegerfNumLayerCmd
 
G4UIcmdWithAnIntegerfVerboseCmd
 

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
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 43 of file GB03DetectorMessenger.hh.

Constructor & Destructor Documentation

GB03DetectorMessenger::GB03DetectorMessenger ( GB03DetectorConstruction det)
GB03DetectorMessenger::~GB03DetectorMessenger ( )
virtual

Member Function Documentation

G4String GB03DetectorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 113 of file GB03DetectorMessenger.cc.

References G4UIcommand::ConvertToString(), fAbsMaterialCmd, fDetector, fGapMaterialCmd, fNumLayerCmd, fVerboseCmd, GB03DetectorConstruction::GetAbsorberMaterial(), GB03DetectorConstruction::GetGapMaterial(), GB03DetectorConstruction::GetNumberOfLayers(), and GB03DetectorConstruction::GetVerboseLevel().

+ Here is the call graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 95 of file GB03DetectorMessenger.cc.

References fAbsMaterialCmd, fDetector, fGapMaterialCmd, fNumLayerCmd, fVerboseCmd, G4UIcmdWithAnInteger::GetNewIntValue(), GB03DetectorConstruction::SetAbsorberMaterial(), GB03DetectorConstruction::SetGapMaterial(), GB03DetectorConstruction::SetNumberOfLayers(), and GB03DetectorConstruction::SetVerboseLevel().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* GB03DetectorMessenger::fAbsMaterialCmd
private
GB03DetectorConstruction* GB03DetectorMessenger::fDetector
private

Definition at line 53 of file GB03DetectorMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIdirectory* GB03DetectorMessenger::fDirectory
private

Definition at line 55 of file GB03DetectorMessenger.hh.

Referenced by GB03DetectorMessenger(), and ~GB03DetectorMessenger().

G4UIcmdWithAString* GB03DetectorMessenger::fGapMaterialCmd
private
G4UIcmdWithAnInteger* GB03DetectorMessenger::fNumLayerCmd
private
G4UIcmdWithAnInteger* GB03DetectorMessenger::fVerboseCmd
private

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