Geant4  10.01.p02
G4EvManMessenger Class Reference

#include <G4EvManMessenger.hh>

+ Inheritance diagram for G4EvManMessenger:
+ Collaboration diagram for G4EvManMessenger:

Public Member Functions

 G4EvManMessenger (G4EventManager *fEvMan)
 
 ~G4EvManMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

G4EventManagerfEvManager
 
G4UIdirectoryeventDirectory
 
G4UIcmdWithoutParameterabortCmd
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIcmdWithoutParameterstoreEvtCmd
 

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 48 of file G4EvManMessenger.hh.

Constructor & Destructor Documentation

G4EvManMessenger::G4EvManMessenger ( G4EventManager fEvMan)

Definition at line 37 of file G4EvManMessenger.cc.

References abortCmd, G4UIcommand::AvailableForStates(), eventDirectory, G4State_EventProc, G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcommand::SetRange(), storeEvtCmd, and verboseCmd.

+ Here is the call graph for this function:

G4EvManMessenger::~G4EvManMessenger ( )

Definition at line 63 of file G4EvManMessenger.cc.

References abortCmd, eventDirectory, storeEvtCmd, and verboseCmd.

Member Function Documentation

G4String G4EvManMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 81 of file G4EvManMessenger.cc.

References G4UIcommand::ConvertToString(), fEvManager, G4EventManager::GetVerboseLevel(), and verboseCmd.

+ Here is the call graph for this function:

void G4EvManMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 71 of file G4EvManMessenger.cc.

References abortCmd, G4EventManager::AbortCurrentEvent(), fEvManager, G4UIcmdWithAnInteger::GetNewIntValue(), G4EventManager::KeepTheCurrentEvent(), G4EventManager::SetVerboseLevel(), storeEvtCmd, and verboseCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithoutParameter* G4EvManMessenger::abortCmd
private

Definition at line 58 of file G4EvManMessenger.hh.

Referenced by G4EvManMessenger(), SetNewValue(), and ~G4EvManMessenger().

G4UIdirectory* G4EvManMessenger::eventDirectory
private

Definition at line 57 of file G4EvManMessenger.hh.

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

G4EventManager* G4EvManMessenger::fEvManager
private

Definition at line 56 of file G4EvManMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithoutParameter* G4EvManMessenger::storeEvtCmd
private

Definition at line 60 of file G4EvManMessenger.hh.

Referenced by G4EvManMessenger(), SetNewValue(), and ~G4EvManMessenger().

G4UIcmdWithAnInteger* G4EvManMessenger::verboseCmd
private

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