Geant4  10.03
G4PlotMessenger Class Reference

#include <G4PlotMessenger.hh>

+ Inheritance diagram for G4PlotMessenger:
+ Collaboration diagram for G4PlotMessenger:

Public Member Functions

 G4PlotMessenger (G4PlotParameters *plotParameters)
 
virtual ~G4PlotMessenger ()
 
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 SetStyleCmd ()
 
void SetLayoutCmd ()
 
void SetDimensionsCmd ()
 

Private Attributes

G4PlotParametersfPlotParameters
 Associated class. More...
 
std::unique_ptr
< G4AnalysisMessengerHelper
fHelper
 
std::unique_ptr< G4UIdirectoryfDirectory
 
std::unique_ptr< G4UIcommandfSetLayoutCmd
 
std::unique_ptr< G4UIcommandfSetDimensionsCmd
 
std::unique_ptr
< G4UIcmdWithAString
fSetStyleCmd
 

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 G4PlotMessenger.hh.

Constructor & Destructor Documentation

G4PlotMessenger::G4PlotMessenger ( G4PlotParameters plotParameters)
explicit

Definition at line 48 of file G4PlotMessenger.cc.

References fDirectory, fHelper, SetDimensionsCmd(), SetLayoutCmd(), and SetStyleCmd().

+ Here is the call graph for this function:

G4PlotMessenger::~G4PlotMessenger ( )
virtual

Definition at line 67 of file G4PlotMessenger.cc.

Member Function Documentation

void G4PlotMessenger::SetDimensionsCmd ( )
private

Definition at line 134 of file G4PlotMessenger.cc.

References fSetDimensionsCmd, G4State_Idle, G4State_PreInit, and width.

Referenced by G4PlotMessenger().

+ Here is the caller graph for this function:

void G4PlotMessenger::SetLayoutCmd ( )
private

Definition at line 95 of file G4PlotMessenger.cc.

References G4String::append(), fPlotParameters, fSetLayoutCmd, G4State_Idle, G4State_PreInit, G4PlotParameters::GetMaxColumns(), and G4PlotParameters::GetMaxRows().

Referenced by G4PlotMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 154 of file G4PlotMessenger.cc.

References G4UIcommand::ConvertToInt(), fHelper, fPlotParameters, fSetDimensionsCmd, fSetLayoutCmd, fSetStyleCmd, G4UIcommand::GetParameterEntries(), G4PlotParameters::SetDimensions(), G4PlotParameters::SetLayout(), G4PlotParameters::SetStyle(), G4Analysis::Tokenize(), and width.

+ Here is the call graph for this function:

void G4PlotMessenger::SetStyleCmd ( )
private

Definition at line 75 of file G4PlotMessenger.cc.

References fPlotParameters, fSetStyleCmd, G4State_Idle, G4State_PreInit, and G4PlotParameters::GetAvailableStyles().

Referenced by G4PlotMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::unique_ptr<G4UIdirectory> G4PlotMessenger::fDirectory
private

Definition at line 63 of file G4PlotMessenger.hh.

Referenced by G4PlotMessenger().

std::unique_ptr<G4AnalysisMessengerHelper> G4PlotMessenger::fHelper
private

Definition at line 62 of file G4PlotMessenger.hh.

Referenced by G4PlotMessenger(), and SetNewValue().

G4PlotParameters* G4PlotMessenger::fPlotParameters
private

Associated class.

Definition at line 61 of file G4PlotMessenger.hh.

Referenced by SetLayoutCmd(), SetNewValue(), and SetStyleCmd().

std::unique_ptr<G4UIcommand> G4PlotMessenger::fSetDimensionsCmd
private

Definition at line 66 of file G4PlotMessenger.hh.

Referenced by SetDimensionsCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4PlotMessenger::fSetLayoutCmd
private

Definition at line 65 of file G4PlotMessenger.hh.

Referenced by SetLayoutCmd(), and SetNewValue().

std::unique_ptr<G4UIcmdWithAString> G4PlotMessenger::fSetStyleCmd
private

Definition at line 67 of file G4PlotMessenger.hh.

Referenced by SetNewValue(), and SetStyleCmd().


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