Geant4  10.00.p02
exrdmMaterialMessenger Class Reference

#include <exrdmMaterialMessenger.hh>

+ Inheritance diagram for exrdmMaterialMessenger:
+ Collaboration diagram for exrdmMaterialMessenger:

Public Member Functions

 exrdmMaterialMessenger (exrdmMaterial *)
 
virtual ~exrdmMaterialMessenger ()
 
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
 

Private Attributes

exrdmMaterialfMaterialsManager
 
G4UIdirectoryfMaterialDir
 
G4UIcmdWithoutParameterfListCmd
 
G4UIcmdWithAnIntegerfDeleteIntCmd
 
G4UIcmdWithAStringfDeleteNameCmd
 
G4UIcommandfAddCmd
 

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
 

Detailed Description

Definition at line 48 of file exrdmMaterialMessenger.hh.

Constructor & Destructor Documentation

exrdmMaterialMessenger::exrdmMaterialMessenger ( exrdmMaterial exrdmMat)
exrdmMaterialMessenger::~exrdmMaterialMessenger ( )
virtual

Definition at line 106 of file exrdmMaterialMessenger.cc.

References fAddCmd, fDeleteIntCmd, fDeleteNameCmd, fListCmd, and fMaterialDir.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 116 of file exrdmMaterialMessenger.cc.

References exrdmMaterial::AddMaterial(), cm3, exrdmMaterial::DeleteMaterial(), fAddCmd, fDeleteIntCmd, fDeleteNameCmd, fListCmd, fMaterialsManager, g, G4UIcmdWithAnInteger::GetNewIntValue(), and exrdmMaterial::ListMaterial().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcommand* exrdmMaterialMessenger::fAddCmd
private
G4UIcmdWithAnInteger* exrdmMaterialMessenger::fDeleteIntCmd
private
G4UIcmdWithAString* exrdmMaterialMessenger::fDeleteNameCmd
private
G4UIcmdWithoutParameter* exrdmMaterialMessenger::fListCmd
private
G4UIdirectory* exrdmMaterialMessenger::fMaterialDir
private

Definition at line 60 of file exrdmMaterialMessenger.hh.

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

exrdmMaterial* exrdmMaterialMessenger::fMaterialsManager
private

Definition at line 58 of file exrdmMaterialMessenger.hh.

Referenced by SetNewValue().


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