Geant4  10.01.p02
G4MoleculeGunMessenger Class Reference

#include <G4MoleculeGunMessenger.hh>

+ Inheritance diagram for G4MoleculeGunMessenger:
+ Collaboration diagram for G4MoleculeGunMessenger:

Classes

struct  MultipleGun
 

Public Member Functions

 G4MoleculeGunMessenger ()
 
virtual ~G4MoleculeGunMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
void DefineTracks (G4MoleculeGun *)
 
- 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
 

Protected Member Functions

MultipleGunCreateNewType (const G4String &name)
 
- 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

G4UIdirectoryfpGunDir
 
G4UIcmdWithAStringfpGunNewGunType
 
std::vector< MultipleGun * > fMultipleGun
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 59 of file G4MoleculeGunMessenger.hh.

Constructor & Destructor Documentation

G4MoleculeGunMessenger::G4MoleculeGunMessenger ( )

Definition at line 46 of file G4MoleculeGunMessenger.cc.

References fpGunDir, and fpGunNewGunType.

G4MoleculeGunMessenger::~G4MoleculeGunMessenger ( )
virtual

Definition at line 53 of file G4MoleculeGunMessenger.cc.

References fpGunDir, and fpGunNewGunType.

Member Function Documentation

G4MoleculeGunMessenger::MultipleGun * G4MoleculeGunMessenger::CreateNewType ( const G4String name)
protected

Definition at line 64 of file G4MoleculeGunMessenger.cc.

References fMultipleGun.

Referenced by SetNewValue().

+ Here is the caller graph for this function:

void G4MoleculeGunMessenger::DefineTracks ( G4MoleculeGun gun)

Definition at line 157 of file G4MoleculeGunMessenger.cc.

References fMultipleGun.

Referenced by G4MoleculeGun::DefineTracks().

+ Here is the caller graph for this function:

G4String G4MoleculeGunMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 59 of file G4MoleculeGunMessenger.cc.

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

Reimplemented from G4UImessenger.

Definition at line 71 of file G4MoleculeGunMessenger.cc.

References CreateNewType(), and fpGunNewGunType.

+ Here is the call graph for this function:

Member Data Documentation

std::vector<MultipleGun*> G4MoleculeGunMessenger::fMultipleGun
protected

Definition at line 95 of file G4MoleculeGunMessenger.hh.

Referenced by CreateNewType(), and DefineTracks().

G4UIdirectory* G4MoleculeGunMessenger::fpGunDir
protected

Definition at line 70 of file G4MoleculeGunMessenger.hh.

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

G4UIcmdWithAString* G4MoleculeGunMessenger::fpGunNewGunType
protected

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