Geant4  10.01.p02
G4SDmessenger Class Reference

#include <G4SDmessenger.hh>

+ Inheritance diagram for G4SDmessenger:
+ Collaboration diagram for G4SDmessenger:

Public Member Functions

 G4SDmessenger (G4SDManager *SDManager)
 
 ~G4SDmessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
- 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

G4SDManagerfSDMan
 
G4UIdirectoryhitsDir
 
G4UIcmdWithoutParameterlistCmd
 
G4UIcmdWithAStringactiveCmd
 
G4UIcmdWithAStringinactiveCmd
 
G4UIcmdWithAnIntegerverboseCmd
 

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 52 of file G4SDmessenger.hh.

Constructor & Destructor Documentation

G4SDmessenger::G4SDmessenger ( G4SDManager SDManager)

Definition at line 38 of file G4SDmessenger.cc.

References activeCmd, hitsDir, inactiveCmd, listCmd, G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), and verboseCmd.

+ Here is the call graph for this function:

G4SDmessenger::~G4SDmessenger ( )

Definition at line 61 of file G4SDmessenger.cc.

References activeCmd, hitsDir, inactiveCmd, listCmd, and verboseCmd.

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 70 of file G4SDmessenger.cc.

References G4SDManager::Activate(), activeCmd, fSDMan, G4UIcmdWithAnInteger::GetNewIntValue(), inactiveCmd, listCmd, G4SDManager::ListTree(), G4SDManager::SetVerboseLevel(), and verboseCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* G4SDmessenger::activeCmd
private

Definition at line 63 of file G4SDmessenger.hh.

Referenced by G4SDmessenger(), SetNewValue(), and ~G4SDmessenger().

G4SDManager* G4SDmessenger::fSDMan
private

Definition at line 60 of file G4SDmessenger.hh.

Referenced by SetNewValue().

G4UIdirectory* G4SDmessenger::hitsDir
private

Definition at line 61 of file G4SDmessenger.hh.

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

G4UIcmdWithAString* G4SDmessenger::inactiveCmd
private

Definition at line 64 of file G4SDmessenger.hh.

Referenced by G4SDmessenger(), SetNewValue(), and ~G4SDmessenger().

G4UIcmdWithoutParameter* G4SDmessenger::listCmd
private

Definition at line 62 of file G4SDmessenger.hh.

Referenced by G4SDmessenger(), SetNewValue(), and ~G4SDmessenger().

G4UIcmdWithAnInteger* G4SDmessenger::verboseCmd
private

Definition at line 65 of file G4SDmessenger.hh.

Referenced by G4SDmessenger(), SetNewValue(), and ~G4SDmessenger().


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