Geant4
10.01.p03
|
#include <ML2PhantomConstructionMessenger.hh>
Public Member Functions | |
CML2PhantomConstructionMessenger (CML2PhantomConstruction *phantomConstructor) | |
~CML2PhantomConstructionMessenger (void) | |
void | SetNewValue (G4UIcommand *cmd, G4String newValue) |
void | SetReferenceWorld (G4bool bOV) |
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 | |
CML2PhantomConstruction * | pPhantomConstructor |
G4UIcmdWith3VectorAndUnit * | phantomCentre |
G4UIcmdWithAString * | PhantomName |
G4UIcmdWithAString * | PhantomFileName |
G4bool | bOnlyVisio |
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 | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Definition at line 62 of file ML2PhantomConstructionMessenger.hh.
CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger | ( | CML2PhantomConstruction * | phantomConstructor | ) |
Definition at line 53 of file ML2PhantomConstructionMessenger.cc.
References phantomCentre, PhantomFileName, PhantomName, pPhantomConstructor, G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), CML2PhantomConstruction::setPhantomFileName(), and CML2PhantomConstruction::setPhantomName().
CML2PhantomConstructionMessenger::~CML2PhantomConstructionMessenger | ( | void | ) |
Definition at line 71 of file ML2PhantomConstructionMessenger.cc.
References phantomCentre, and PhantomName.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 76 of file ML2PhantomConstructionMessenger.cc.
References CML2PhantomConstruction::addNewCentre(), G4UImanager::ApplyCommand(), CML2PhantomConstruction::applyNewCentre(), bOnlyVisio, G4UIcmdWith3VectorAndUnit::GetNew3VectorRawValue(), G4UImanager::GetUIpointer(), phantomCentre, PhantomFileName, PhantomName, pPhantomConstructor, CML2PhantomConstruction::setPhantomFileName(), and CML2PhantomConstruction::setPhantomName().
|
inline |
Definition at line 68 of file ML2PhantomConstructionMessenger.hh.
References bOnlyVisio.
Referenced by CML2PhantomConstruction::Construct().
|
private |
Definition at line 75 of file ML2PhantomConstructionMessenger.hh.
Referenced by SetNewValue(), and SetReferenceWorld().
|
private |
Definition at line 73 of file ML2PhantomConstructionMessenger.hh.
Referenced by CML2PhantomConstructionMessenger(), SetNewValue(), and ~CML2PhantomConstructionMessenger().
|
private |
Definition at line 74 of file ML2PhantomConstructionMessenger.hh.
Referenced by CML2PhantomConstructionMessenger(), and SetNewValue().
|
private |
Definition at line 74 of file ML2PhantomConstructionMessenger.hh.
Referenced by CML2PhantomConstructionMessenger(), SetNewValue(), and ~CML2PhantomConstructionMessenger().
|
private |
Definition at line 71 of file ML2PhantomConstructionMessenger.hh.
Referenced by CML2PhantomConstructionMessenger(), and SetNewValue().