Geant4  10.01.p03
HistoMessenger Class Reference

#include <HistoMessenger.hh>

+ Inheritance diagram for HistoMessenger:
+ Collaboration diagram for HistoMessenger:

Public Member Functions

 HistoMessenger (HistoManager *)
 
 ~HistoMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 HistoMessenger (Histo *)
 
virtual ~HistoMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 HistoMessenger (Histo *)
 
 ~HistoMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 HistoMessenger (Histo *)
 
virtual ~HistoMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 HistoMessenger (Histo *)
 
virtual ~HistoMessenger ()
 
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
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

HistoManagerfHistoManager
 
G4UIdirectoryfHistoDir
 
G4UIcmdWithAStringfFileNameCmd
 
G4UIcommandfHistoCmd
 
G4UIcmdWithAnIntegerfPrtHistoCmd
 
HistofHisto
 
G4UIcmdWithAStringfFactoryCmd
 
G4UIcmdWithAStringfFileCmd
 

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 51 of file HistoMessenger.hh.

Constructor & Destructor Documentation

HistoMessenger::HistoMessenger ( HistoManager manager)

Definition at line 48 of file HistoMessenger.cc.

References fFileNameCmd, fHistoCmd, fHistoDir, fPrtHistoCmd, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithAnInteger::SetParameterName(), G4UIparameter::SetParameterRange(), and G4UIcommand::SetRange().

+ Here is the call graph for this function:

HistoMessenger::~HistoMessenger ( )

Definition at line 96 of file HistoMessenger.cc.

References fFileNameCmd, fHistoCmd, fHistoDir, and fPrtHistoCmd.

HistoMessenger::HistoMessenger ( Histo hist)

Definition at line 46 of file HistoMessenger.cc.

References fFactoryCmd, fFileCmd, fHistoCmd, fHistoDir, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterRange().

+ Here is the call graph for this function:

virtual HistoMessenger::~HistoMessenger ( )
virtual
HistoMessenger::HistoMessenger ( Histo )
HistoMessenger::~HistoMessenger ( )
HistoMessenger::HistoMessenger ( Histo )
virtual HistoMessenger::~HistoMessenger ( )
virtual
HistoMessenger::HistoMessenger ( Histo )
virtual HistoMessenger::~HistoMessenger ( )
virtual

Member Function Documentation

virtual void HistoMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void HistoMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void HistoMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

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

Reimplemented from G4UImessenger.

Definition at line 106 of file HistoMessenger.cc.

References fFileNameCmd, fHistoCmd, fHistoManager, fPrtHistoCmd, G4UIcmdWithAnInteger::GetNewIntValue(), HistoManager::PrintHisto(), HistoManager::SetFileName(), and HistoManager::SetHisto().

+ Here is the call graph for this function:

virtual void HistoMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

Member Data Documentation

G4UIcmdWithAString * HistoMessenger::fFactoryCmd
private

Definition at line 65 of file HistoMessenger.hh.

Referenced by HistoMessenger().

G4UIcmdWithAString * HistoMessenger::fFileCmd
private

Definition at line 66 of file HistoMessenger.hh.

Referenced by HistoMessenger().

G4UIcmdWithAString* HistoMessenger::fFileNameCmd
private

Definition at line 65 of file HistoMessenger.hh.

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

Histo * HistoMessenger::fHisto
private

Definition at line 62 of file HistoMessenger.hh.

G4UIcommand * HistoMessenger::fHistoCmd
private

Definition at line 66 of file HistoMessenger.hh.

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

G4UIdirectory * HistoMessenger::fHistoDir
private

Definition at line 64 of file HistoMessenger.hh.

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

HistoManager* HistoMessenger::fHistoManager
private

Definition at line 62 of file HistoMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithAnInteger* HistoMessenger::fPrtHistoCmd
private

Definition at line 67 of file HistoMessenger.hh.

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


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