Geant4  10.01.p03
F03FieldMessenger Class Reference

#include <F03FieldMessenger.hh>

+ Inheritance diagram for F03FieldMessenger:
+ Collaboration diagram for F03FieldMessenger:

Public Member Functions

 F03FieldMessenger (F03FieldSetup *)
 
virtual ~F03FieldMessenger ()
 
virtual 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
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

F03FieldSetupfEMfieldSetup
 
G4UIdirectoryfFieldDir
 
G4UIcmdWithAnIntegerfStepperCmd
 
G4UIcmdWithADoubleAndUnitfMagFieldCmd
 
G4UIcmdWithADoubleAndUnitfMinStepCmd
 
G4UIcmdWithoutParameterfUpdateCmd
 

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 49 of file F03FieldMessenger.hh.

Constructor & Destructor Documentation

F03FieldMessenger::F03FieldMessenger ( F03FieldSetup fieldSetup)
F03FieldMessenger::~F03FieldMessenger ( )
virtual

Definition at line 88 of file F03FieldMessenger.cc.

References fFieldDir, fMagFieldCmd, fMinStepCmd, fStepperCmd, and fUpdateCmd.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 99 of file F03FieldMessenger.cc.

References fEMfieldSetup, fMagFieldCmd, fMinStepCmd, fStepperCmd, fUpdateCmd, G4cout, G4endl, gauss, F03FieldSetup::GetConstantFieldValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), F03FieldSetup::SetFieldValue(), F03FieldSetup::SetMinStep(), F03FieldSetup::SetStepperType(), and F03FieldSetup::UpdateField().

+ Here is the call graph for this function:

Member Data Documentation

F03FieldSetup* F03FieldMessenger::fEMfieldSetup
private

Definition at line 59 of file F03FieldMessenger.hh.

Referenced by SetNewValue().

G4UIdirectory* F03FieldMessenger::fFieldDir
private

Definition at line 61 of file F03FieldMessenger.hh.

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

G4UIcmdWithADoubleAndUnit* F03FieldMessenger::fMagFieldCmd
private

Definition at line 64 of file F03FieldMessenger.hh.

Referenced by F03FieldMessenger(), SetNewValue(), and ~F03FieldMessenger().

G4UIcmdWithADoubleAndUnit* F03FieldMessenger::fMinStepCmd
private

Definition at line 65 of file F03FieldMessenger.hh.

Referenced by F03FieldMessenger(), SetNewValue(), and ~F03FieldMessenger().

G4UIcmdWithAnInteger* F03FieldMessenger::fStepperCmd
private

Definition at line 63 of file F03FieldMessenger.hh.

Referenced by F03FieldMessenger(), SetNewValue(), and ~F03FieldMessenger().

G4UIcmdWithoutParameter* F03FieldMessenger::fUpdateCmd
private

Definition at line 66 of file F03FieldMessenger.hh.

Referenced by F03FieldMessenger(), SetNewValue(), and ~F03FieldMessenger().


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