Geant4  10.02.p02
G4HnMessenger Class Reference

#include <G4HnMessenger.hh>

+ Inheritance diagram for G4HnMessenger:
+ Collaboration diagram for G4HnMessenger:

Public Member Functions

 G4HnMessenger (G4HnManager &manager)
 
virtual ~G4HnMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String value) final
 
- 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 Member Functions

void SetHnAsciiCmd ()
 
void SetHnActivationCmd ()
 
void SetHnActivationToAllCmd ()
 
void SetHnPlottingCmd ()
 
void SetHnPlottingToAllCmd ()
 

Private Attributes

G4HnManagerfManager
 Associated class. More...
 
std::unique_ptr
< G4AnalysisMessengerHelper
fHelper
 
std::unique_ptr
< G4UIcmdWithAnInteger
fSetHnAsciiCmd
 
std::unique_ptr< G4UIcommandfSetHnActivationCmd
 
std::unique_ptr< G4UIcmdWithABoolfSetHnActivationAllCmd
 
std::unique_ptr< G4UIcommandfSetHnPlottingCmd
 
std::unique_ptr< G4UIcmdWithABoolfSetHnPlottingAllCmd
 

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 47 of file G4HnMessenger.hh.

Constructor & Destructor Documentation

G4HnMessenger::G4HnMessenger ( G4HnManager manager)
explicit

Definition at line 44 of file G4HnMessenger.cc.

References fHelper, fManager, G4HnManager::GetHnType(), SetHnActivationCmd(), SetHnActivationToAllCmd(), SetHnAsciiCmd(), SetHnPlottingCmd(), SetHnPlottingToAllCmd(), and G4String::toLower().

+ Here is the call graph for this function:

G4HnMessenger::~G4HnMessenger ( )
virtual

Definition at line 66 of file G4HnMessenger.cc.

Member Function Documentation

void G4HnMessenger::SetHnActivationCmd ( )
private

Definition at line 87 of file G4HnMessenger.cc.

References fHelper, fSetHnActivationCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnActivationToAllCmd ( )
private

Definition at line 107 of file G4HnMessenger.cc.

References fHelper, and fSetHnActivationAllCmd.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnAsciiCmd ( )
private

Definition at line 74 of file G4HnMessenger.cc.

References fHelper, fSetHnAsciiCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnPlottingCmd ( )
private

Definition at line 117 of file G4HnMessenger.cc.

References fHelper, fSetHnPlottingCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnPlottingToAllCmd ( )
private

Definition at line 137 of file G4HnMessenger.cc.

References fHelper, and fSetHnPlottingAllCmd.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetNewValue ( G4UIcommand command,
G4String  value 
)
finalvirtual

Reimplemented from G4UImessenger.

Definition at line 151 of file G4HnMessenger.cc.

References G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), fHelper, fManager, fSetHnActivationAllCmd, fSetHnActivationCmd, fSetHnAsciiCmd, fSetHnPlottingAllCmd, fSetHnPlottingCmd, G4UIcommand::GetParameterEntries(), G4HnManager::SetActivation(), G4HnManager::SetAscii(), G4HnManager::SetPlotting(), and G4Analysis::Tokenize().

+ Here is the call graph for this function:

Member Data Documentation

G4HnManager& G4HnMessenger::fManager
private

Associated class.

Definition at line 63 of file G4HnMessenger.hh.

Referenced by G4HnMessenger(), and SetNewValue().

std::unique_ptr<G4UIcmdWithABool> G4HnMessenger::fSetHnActivationAllCmd
private

Definition at line 68 of file G4HnMessenger.hh.

Referenced by SetHnActivationToAllCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnActivationCmd
private

Definition at line 67 of file G4HnMessenger.hh.

Referenced by SetHnActivationCmd(), and SetNewValue().

std::unique_ptr<G4UIcmdWithAnInteger> G4HnMessenger::fSetHnAsciiCmd
private

Definition at line 66 of file G4HnMessenger.hh.

Referenced by SetHnAsciiCmd(), and SetNewValue().

std::unique_ptr<G4UIcmdWithABool> G4HnMessenger::fSetHnPlottingAllCmd
private

Definition at line 70 of file G4HnMessenger.hh.

Referenced by SetHnPlottingToAllCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnPlottingCmd
private

Definition at line 69 of file G4HnMessenger.hh.

Referenced by SetHnPlottingCmd(), and SetNewValue().


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