Geant4  10.01.p02
ExG4RunAction01Messenger Class Reference

Messenger class that defines commands for ExG4RunAction01. More...

#include <ExG4RunAction01Messenger.hh>

+ Inheritance diagram for ExG4RunAction01Messenger:
+ Collaboration diagram for ExG4RunAction01Messenger:

Public Member Functions

 ExG4RunAction01Messenger (ExG4RunAction01 *)
 
 ~ExG4RunAction01Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
 ExG4RunAction01Messenger (ExG4RunAction01 *)
 
 ~ExG4RunAction01Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
 ExG4RunAction01Messenger (ExG4RunAction01 *)
 
 ~ExG4RunAction01Messenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
- 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

ExG4RunAction01fRunAction
 
G4UIdirectoryfTopDirectory
 
G4UIdirectoryfDirectory
 
G4UIcmdWithAnIntegerfSetVerboseLevelCmd
 
G4UIcmdWithABoolfSetSaveRndmCmd
 
G4UIcmdWithABoolfSetReadRndmCmd
 
G4UIcmdWithAStringfSetRndmFileNameCmd
 
G4UIcmdWithABoolfSetAutoSeedCmd
 

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

Messenger class that defines commands for ExG4RunAction01.

It implements commands:

  • /ExG4/run/verboseLevel level
  • /ExG4/run/saveRndm true|false
  • /ExG4/run/readRndm true|false
  • /ExG4/run/rndmFileName fileName
  • /ExG4/run/autoSeed true|false

Definition at line 53 of file ExG4RunAction01Messenger.hh.

Constructor & Destructor Documentation

ExG4RunAction01Messenger::ExG4RunAction01Messenger ( ExG4RunAction01 runAction)
ExG4RunAction01Messenger::~ExG4RunAction01Messenger ( )
ExG4RunAction01Messenger::ExG4RunAction01Messenger ( ExG4RunAction01 )
ExG4RunAction01Messenger::~ExG4RunAction01Messenger ( )
ExG4RunAction01Messenger::ExG4RunAction01Messenger ( ExG4RunAction01 )
ExG4RunAction01Messenger::~ExG4RunAction01Messenger ( )

Member Function Documentation

void ExG4RunAction01Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual
virtual void ExG4RunAction01Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

virtual void ExG4RunAction01Messenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Member Data Documentation

G4UIdirectory * ExG4RunAction01Messenger::fDirectory
private
ExG4RunAction01 * ExG4RunAction01Messenger::fRunAction
private

Definition at line 63 of file ExG4RunAction01Messenger.hh.

Referenced by SetNewValue().

G4UIcmdWithABool * ExG4RunAction01Messenger::fSetAutoSeedCmd
private
G4UIcmdWithABool * ExG4RunAction01Messenger::fSetReadRndmCmd
private
G4UIcmdWithAString * ExG4RunAction01Messenger::fSetRndmFileNameCmd
private
G4UIcmdWithABool * ExG4RunAction01Messenger::fSetSaveRndmCmd
private
G4UIcmdWithAnInteger * ExG4RunAction01Messenger::fSetVerboseLevelCmd
private
G4UIdirectory * ExG4RunAction01Messenger::fTopDirectory
private

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