Geant4  10.00.p02
ExG4EventAction01Messenger Class Reference

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

#include <ExG4EventAction01Messenger.hh>

+ Inheritance diagram for ExG4EventAction01Messenger:
+ Collaboration diagram for ExG4EventAction01Messenger:

Public Member Functions

 ExG4EventAction01Messenger (ExG4EventAction01 *eventAction)
 
 ~ExG4EventAction01Messenger ()
 
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
 

Private Attributes

ExG4EventAction01fEventAction
 
G4UIdirectoryfTopDirectory
 
G4UIdirectoryfDirectory
 
G4UIcmdWithAnIntegerfSetVerboseLevelCmd
 
G4UIcmdWithAnIntegerfSetPrintModuloCmd
 
G4UIcmdWithABoolfSetSaveRndmCmd
 

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
 

Detailed Description

Messenger class that defines commands for ExG4EventAction01.

It implements commands:

  • /ExG4/event/verboseLevel level
  • /ExG4/event/printModulo modulo
  • /ExG4/event/saveRndm true|false

Definition at line 49 of file ExG4EventAction01Messenger.hh.

Constructor & Destructor Documentation

ExG4EventAction01Messenger::ExG4EventAction01Messenger ( ExG4EventAction01 eventAction)

Definition at line 40 of file ExG4EventAction01Messenger.cc.

References G4UIcommand::AvailableForStates(), fDirectory, fSetPrintModuloCmd, fSetSaveRndmCmd, fSetVerboseLevelCmd, fTopDirectory, G4State_Idle, G4State_Init, G4State_PreInit, G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithABool::SetParameterName(), and G4UIcommand::SetRange().

+ Here is the call graph for this function:

ExG4EventAction01Messenger::~ExG4EventAction01Messenger ( )

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 83 of file ExG4EventAction01Messenger.cc.

References fEventAction, fSetPrintModuloCmd, fSetSaveRndmCmd, fSetVerboseLevelCmd, G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithAnInteger::GetNewIntValue(), ExG4EventAction01::SetPrintModulo(), ExG4EventAction01::SetSaveRndm(), and ExG4EventAction01::SetVerboseLevel().

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* ExG4EventAction01Messenger::fDirectory
private
ExG4EventAction01* ExG4EventAction01Messenger::fEventAction
private

Definition at line 59 of file ExG4EventAction01Messenger.hh.

Referenced by SetNewValue().

G4UIcmdWithAnInteger* ExG4EventAction01Messenger::fSetPrintModuloCmd
private
G4UIcmdWithABool* ExG4EventAction01Messenger::fSetSaveRndmCmd
private
G4UIcmdWithAnInteger* ExG4EventAction01Messenger::fSetVerboseLevelCmd
private
G4UIdirectory* ExG4EventAction01Messenger::fTopDirectory
private

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