Geant4  10.01.p02
G4HumanPhantomMessenger Class Reference

#include <G4HumanPhantomMessenger.hh>

+ Inheritance diagram for G4HumanPhantomMessenger:
+ Collaboration diagram for G4HumanPhantomMessenger:

Public Member Functions

 G4HumanPhantomMessenger (G4HumanPhantomConstruction *myUsrPhtm)
 
 ~G4HumanPhantomMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValue)
 
void AddBodyPart (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

G4HumanPhantomConstructionmyUserPhantom
 
G4UIdirectoryphantomDir
 
G4UIdirectorybpDir
 
G4UIcmdWithAStringmodelCmd
 
G4UIcmdWithAStringsexCmd
 
G4UIcmdWithAStringbodypartCmd
 
G4UIcmdWithoutParameterendCmd
 
G4String bodypart
 
G4bool bps
 

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 48 of file G4HumanPhantomMessenger.hh.

Constructor & Destructor Documentation

G4HumanPhantomMessenger::G4HumanPhantomMessenger ( G4HumanPhantomConstruction myUsrPhtm)

Definition at line 45 of file G4HumanPhantomMessenger.cc.

References G4UIcommand::AvailableForStates(), bodypartCmd, bpDir, endCmd, G4State_Idle, G4State_PreInit, modelCmd, phantomDir, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), and sexCmd.

+ Here is the call graph for this function:

G4HumanPhantomMessenger::~G4HumanPhantomMessenger ( )

Definition at line 79 of file G4HumanPhantomMessenger.cc.

References bodypartCmd, bpDir, endCmd, modelCmd, phantomDir, and sexCmd.

Member Function Documentation

void G4HumanPhantomMessenger::AddBodyPart ( G4String  newBodyPartSensitivity)

Definition at line 111 of file G4HumanPhantomMessenger.cc.

References bps, G4cout, G4endl, myUserPhantom, and G4HumanPhantomConstruction::SetBodyPartSensitivity().

Referenced by SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 89 of file G4HumanPhantomMessenger.cc.

References AddBodyPart(), bodypartCmd, endCmd, G4cout, G4endl, modelCmd, myUserPhantom, G4HumanPhantomConstruction::SetPhantomModel(), G4HumanPhantomConstruction::SetPhantomSex(), and sexCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4String G4HumanPhantomMessenger::bodypart
private

Definition at line 69 of file G4HumanPhantomMessenger.hh.

G4UIcmdWithAString* G4HumanPhantomMessenger::bodypartCmd
private
G4UIdirectory* G4HumanPhantomMessenger::bpDir
private

Definition at line 62 of file G4HumanPhantomMessenger.hh.

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

G4bool G4HumanPhantomMessenger::bps
private

Definition at line 70 of file G4HumanPhantomMessenger.hh.

Referenced by AddBodyPart().

G4UIcmdWithoutParameter* G4HumanPhantomMessenger::endCmd
private
G4UIcmdWithAString* G4HumanPhantomMessenger::modelCmd
private
G4HumanPhantomConstruction* G4HumanPhantomMessenger::myUserPhantom
private

Definition at line 59 of file G4HumanPhantomMessenger.hh.

Referenced by AddBodyPart(), and SetNewValue().

G4UIdirectory* G4HumanPhantomMessenger::phantomDir
private

Definition at line 61 of file G4HumanPhantomMessenger.hh.

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

G4UIcmdWithAString* G4HumanPhantomMessenger::sexCmd
private

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