ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CML2RunActionMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/medical_linac/include/ML2RunActionMessenger.hh>

+ Inheritance diagram for CML2RunActionMessenger:
+ Collaboration diagram for CML2RunActionMessenger:

Public Member Functions

 CML2RunActionMessenger (CML2RunAction *)
 
 ~CML2RunActionMessenger (void)
 
void SetNewValue (G4UIcommand *cmd, 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

CML2RunActionfRunAction
 
G4UIcmdWithAStringcmd
 

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)
 
G4long StoL (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 >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 54 of file ML2RunActionMessenger.hh.

View newest version in sPHENIX GitHub at line 54 of file ML2RunActionMessenger.hh

Constructor & Destructor Documentation

CML2RunActionMessenger::CML2RunActionMessenger ( CML2RunAction runAction)

Definition at line 48 of file ML2RunActionMessenger.cc.

View newest version in sPHENIX GitHub at line 48 of file ML2RunActionMessenger.cc

References cmd, G4State_Idle, and G4State_PreInit.

CML2RunActionMessenger::~CML2RunActionMessenger ( void  )

Definition at line 55 of file ML2RunActionMessenger.cc.

View newest version in sPHENIX GitHub at line 55 of file ML2RunActionMessenger.cc

References cmd.

Member Function Documentation

void CML2RunActionMessenger::SetNewValue ( G4UIcommand cmd,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 60 of file ML2RunActionMessenger.cc.

View newest version in sPHENIX GitHub at line 60 of file ML2RunActionMessenger.cc

References cmd, and fRunAction.

Member Data Documentation

G4UIcmdWithAString* CML2RunActionMessenger::cmd
private

Definition at line 63 of file ML2RunActionMessenger.hh.

View newest version in sPHENIX GitHub at line 63 of file ML2RunActionMessenger.hh

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

CML2RunAction* CML2RunActionMessenger::fRunAction
private

Definition at line 62 of file ML2RunActionMessenger.hh.

View newest version in sPHENIX GitHub at line 62 of file ML2RunActionMessenger.hh

Referenced by SetNewValue().


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