Geant4  10.02.p01
H02PrimaryGeneratorMessenger Class Reference

#include <H02PrimaryGeneratorMessenger.hh>

+ Inheritance diagram for H02PrimaryGeneratorMessenger:
+ Collaboration diagram for H02PrimaryGeneratorMessenger:

Public Member Functions

 H02PrimaryGeneratorMessenger (H02PrimaryGeneratorAction *genaction)
 
 ~H02PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
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

H02PrimaryGeneratorActionprimaryAction
 
G4UIdirectorydir
 
G4UIcmdWithAStringselect
 

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 45 of file H02PrimaryGeneratorMessenger.hh.

Constructor & Destructor Documentation

H02PrimaryGeneratorMessenger::H02PrimaryGeneratorMessenger ( H02PrimaryGeneratorAction genaction)

Definition at line 43 of file H02PrimaryGeneratorMessenger.cc.

H02PrimaryGeneratorMessenger::~H02PrimaryGeneratorMessenger ( )

Definition at line 63 of file H02PrimaryGeneratorMessenger.cc.

References dir, and select.

Member Function Documentation

G4String H02PrimaryGeneratorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 84 of file H02PrimaryGeneratorMessenger.cc.

References primaryAction, and select.

void H02PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 72 of file H02PrimaryGeneratorMessenger.cc.

References G4cout, G4endl, primaryAction, and select.

Member Data Documentation

G4UIdirectory* H02PrimaryGeneratorMessenger::dir
private

Definition at line 56 of file H02PrimaryGeneratorMessenger.hh.

Referenced by ~H02PrimaryGeneratorMessenger().

H02PrimaryGeneratorAction* H02PrimaryGeneratorMessenger::primaryAction
private

Definition at line 54 of file H02PrimaryGeneratorMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithAString* H02PrimaryGeneratorMessenger::select
private

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