Geant4  10.01.p03
G4P1Messenger Class Reference

#include <G4P1Messenger.hh>

+ Inheritance diagram for G4P1Messenger:
+ Collaboration diagram for G4P1Messenger:

Public Member Functions

 G4P1Messenger (G4VAnalysisManager *manager)
 
virtual ~G4P1Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String value)
 
- 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 CreateP1Cmd ()
 
void SetP1Cmd ()
 
void SetP1TitleCmd ()
 
void SetP1XAxisCmd ()
 
void SetP1YAxisCmd ()
 

Private Attributes

G4VAnalysisManagerfManager
 Associated class. More...
 
G4UIdirectoryfP1Dir
 
G4UIcommandfCreateP1Cmd
 
G4UIcommandfSetP1Cmd
 
G4UIcommandfSetP1TitleCmd
 
G4UIcommandfSetP1XAxisCmd
 
G4UIcommandfSetP1YAxisCmd
 

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 43 of file G4P1Messenger.hh.

Constructor & Destructor Documentation

G4P1Messenger::G4P1Messenger ( G4VAnalysisManager manager)

Definition at line 60 of file G4P1Messenger.cc.

References CreateP1Cmd(), fP1Dir, G4UIcommand::SetGuidance(), SetP1Cmd(), SetP1TitleCmd(), SetP1XAxisCmd(), and SetP1YAxisCmd().

+ Here is the call graph for this function:

G4P1Messenger::~G4P1Messenger ( )
virtual

Definition at line 82 of file G4P1Messenger.cc.

References fCreateP1Cmd, fP1Dir, fSetP1Cmd, fSetP1TitleCmd, fSetP1XAxisCmd, and fSetP1YAxisCmd.

Member Function Documentation

void G4P1Messenger::CreateP1Cmd ( )
private

Definition at line 97 of file G4P1Messenger.cc.

References G4UIcommand::AvailableForStates(), fCreateP1Cmd, G4State_Idle, G4State_PreInit, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterCandidates().

Referenced by G4P1Messenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4P1Messenger::SetNewValue ( G4UIcommand command,
G4String  value 
)
virtual
void G4P1Messenger::SetP1Cmd ( )
private

Definition at line 182 of file G4P1Messenger.cc.

References G4UIcommand::AvailableForStates(), fSetP1Cmd, G4State_Idle, G4State_PreInit, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIparameter::SetParameterCandidates(), and G4UIparameter::SetParameterRange().

Referenced by G4P1Messenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4P1Messenger::SetP1TitleCmd ( )
private

Definition at line 255 of file G4P1Messenger.cc.

References G4UIcommand::AvailableForStates(), fSetP1TitleCmd, G4State_Idle, G4State_PreInit, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterRange().

Referenced by G4P1Messenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4P1Messenger::SetP1XAxisCmd ( )
private

Definition at line 273 of file G4P1Messenger.cc.

References G4UIcommand::AvailableForStates(), fSetP1XAxisCmd, G4State_Idle, G4State_PreInit, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterRange().

Referenced by G4P1Messenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4P1Messenger::SetP1YAxisCmd ( )
private

Definition at line 291 of file G4P1Messenger.cc.

References G4UIcommand::AvailableForStates(), fSetP1YAxisCmd, G4State_Idle, G4State_PreInit, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterRange().

Referenced by G4P1Messenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4UIcommand* G4P1Messenger::fCreateP1Cmd
private

Definition at line 62 of file G4P1Messenger.hh.

Referenced by CreateP1Cmd(), SetNewValue(), and ~G4P1Messenger().

G4VAnalysisManager* G4P1Messenger::fManager
private

Associated class.

Definition at line 59 of file G4P1Messenger.hh.

Referenced by SetNewValue().

G4UIdirectory* G4P1Messenger::fP1Dir
private

Definition at line 61 of file G4P1Messenger.hh.

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

G4UIcommand* G4P1Messenger::fSetP1Cmd
private

Definition at line 63 of file G4P1Messenger.hh.

Referenced by SetNewValue(), SetP1Cmd(), and ~G4P1Messenger().

G4UIcommand* G4P1Messenger::fSetP1TitleCmd
private

Definition at line 64 of file G4P1Messenger.hh.

Referenced by SetNewValue(), SetP1TitleCmd(), and ~G4P1Messenger().

G4UIcommand* G4P1Messenger::fSetP1XAxisCmd
private

Definition at line 65 of file G4P1Messenger.hh.

Referenced by SetNewValue(), SetP1XAxisCmd(), and ~G4P1Messenger().

G4UIcommand* G4P1Messenger::fSetP1YAxisCmd
private

Definition at line 66 of file G4P1Messenger.hh.

Referenced by SetNewValue(), SetP1YAxisCmd(), and ~G4P1Messenger().


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