Geant4  10.03
G4NeutronKillerMessenger Class Reference

#include <G4NeutronKillerMessenger.hh>

+ Inheritance diagram for G4NeutronKillerMessenger:
+ Collaboration diagram for G4NeutronKillerMessenger:

Public Member Functions

 G4NeutronKillerMessenger (G4NeutronKiller *)
 
virtual ~G4NeutronKillerMessenger ()
 
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 Member Functions

 G4NeutronKillerMessenger (const G4NeutronKillerMessenger &)
 
G4NeutronKillerMessengeroperator= (const G4NeutronKillerMessenger &right)
 

Private Attributes

G4NeutronKillerkiller
 
G4UIdirectorydir
 
G4UIcmdWithADoubleAndUniteCmd
 
G4UIcmdWithADoubleAndUnittCmd
 

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 53 of file G4NeutronKillerMessenger.hh.

Constructor & Destructor Documentation

G4NeutronKillerMessenger::G4NeutronKillerMessenger ( G4NeutronKiller p)

Definition at line 48 of file G4NeutronKillerMessenger.cc.

References G4UIcommand::AvailableForStates(), dir, eCmd, G4State_Idle, G4State_PreInit, G4UIcommand::SetGuidance(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetUnitCategory(), and tCmd.

+ Here is the call graph for this function:

G4NeutronKillerMessenger::~G4NeutronKillerMessenger ( )
virtual

Definition at line 70 of file G4NeutronKillerMessenger.cc.

References dir, eCmd, and tCmd.

G4NeutronKillerMessenger::G4NeutronKillerMessenger ( const G4NeutronKillerMessenger )
private

Member Function Documentation

G4NeutronKillerMessenger& G4NeutronKillerMessenger::operator= ( const G4NeutronKillerMessenger right)
private
void G4NeutronKillerMessenger::SetNewValue ( G4UIcommand command,
G4String  val 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 79 of file G4NeutronKillerMessenger.cc.

References eCmd, G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), killer, G4NeutronKiller::SetKinEnergyLimit(), G4NeutronKiller::SetTimeLimit(), and tCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* G4NeutronKillerMessenger::dir
private
G4UIcmdWithADoubleAndUnit* G4NeutronKillerMessenger::eCmd
private
G4NeutronKiller* G4NeutronKillerMessenger::killer
private

Definition at line 68 of file G4NeutronKillerMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithADoubleAndUnit* G4NeutronKillerMessenger::tCmd
private

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