Geant4-11
|
#include <G4RTMessenger.hh>
Public Member Functions | |
G4bool | CommandsShouldBeInMaster () const |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator!= (const G4UImessenger &messenger) const |
G4bool | operator== (const G4UImessenger &messenger) const |
virtual void | SetNewValue (G4UIcommand *command, G4String newValue) |
virtual | ~G4RTMessenger () |
Static Public Member Functions | |
static G4RTMessenger * | GetInstance (G4TheRayTracer *p1) |
Protected Member Functions | |
void | AddUIcommand (G4UIcommand *newCommand) |
G4String | BtoS (G4bool b) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
G4String | DtoS (G4double a) |
G4String | ItoS (G4int i) |
G4bool | StoB (G4String s) |
G4double | StoD (G4String s) |
G4int | StoI (G4String s) |
G4long | StoL (G4String s) |
Protected Attributes | |
G4UIdirectory * | baseDir = nullptr |
G4String | baseDirName = "" |
G4bool | commandsShouldBeInMaster = false |
Private Member Functions | |
G4RTMessenger (G4TheRayTracer *p1) | |
Static Private Attributes | |
static G4RTMessenger * | fpInstance = 0 |
Definition at line 50 of file G4RTMessenger.hh.
|
virtual |
|
private |
Definition at line 56 of file G4RTMessenger.cc.
References attCmd, G4UIcommand::AvailableForStates(), bkgColCmd, columnCmd, distCmd, eyePosCmd, fileCmd, G4State_Idle, headCmd, lightCmd, rayDirectory, rowCmd, G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWithADoubleAndUnit::SetDefaultValue(), G4UIcmdWith3Vector::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4UIcommand::SetRange(), spanXCmd, targetCmd, theDefaultTracer, theTracer, and transCmd.
Referenced by GetInstance().
|
protectedinherited |
Definition at line 149 of file G4UImessenger.cc.
References G4cerr, G4endl, and G4UIcommand::GetCommandPath().
Definition at line 98 of file G4UImessenger.cc.
|
inlineinherited |
Definition at line 77 of file G4UImessenger.hh.
References G4UImessenger::commandsShouldBeInMaster.
Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().
|
protectedinherited |
Definition at line 110 of file G4UImessenger.hh.
References G4UImessenger::baseDirName.
|
protectedinherited |
Definition at line 156 of file G4UImessenger.cc.
References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().
Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().
Definition at line 90 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 156 of file G4RTMessenger.cc.
References attCmd, bkgColCmd, columnCmd, G4UIcommand::ConvertToString(), distCmd, eyePosCmd, G4TheRayTracer::GetAttenuationLength(), G4TheRayTracer::GetBackgroundColour(), G4TheRayTracer::GetDistortion(), G4TheRayTracer::GetEyePosition(), G4TheRayTracer::GetHeadAngle(), G4RTSteppingAction::GetIgnoreTransparency(), G4TheRayTracer::GetLightDirection(), G4TheRayTracer::GetNColumn(), G4TheRayTracer::GetNRow(), G4TheRayTracer::GetTargetPosition(), G4TheRayTracer::GetViewSpan(), headCmd, lightCmd, rowCmd, spanXCmd, targetCmd, theTracer, and transCmd.
|
static |
Definition at line 49 of file G4RTMessenger.cc.
References fpInstance, and G4RTMessenger().
Referenced by G4TheRayTracer::G4TheRayTracer().
Definition at line 82 of file G4UImessenger.cc.
Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().
|
inherited |
Definition at line 76 of file G4UImessenger.cc.
|
inherited |
Definition at line 70 of file G4UImessenger.cc.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 184 of file G4RTMessenger.cc.
References attCmd, bkgColCmd, columnCmd, distCmd, eyePosCmd, fileCmd, G4cout, G4endl, G4VisManager::GetCurrentViewer(), G4VisManager::GetInstance(), G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4RayTracerViewer::GetTracer(), headCmd, lightCmd, rowCmd, G4TheRayTracer::SetAttenuationLength(), G4TheRayTracer::SetDistortion(), G4TheRayTracer::SetEyePosition(), G4TheRayTracer::SetHeadAngle(), G4RTSteppingAction::SetIgnoreTransparency(), G4TheRayTracer::SetLightDirection(), G4TheRayTracer::SetNColumn(), G4TheRayTracer::SetNRow(), G4TheRayTracer::SetTargetPosition(), G4TheRayTracer::SetViewSpan(), spanXCmd, targetCmd, theDefaultTracer, theTracer, G4TheRayTracer::Trace(), and transCmd.
Definition at line 137 of file G4UImessenger.cc.
References G4StrUtil::to_upper_copy().
Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 127 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), and G4PolarizationMessenger::SetNewValue().
Definition at line 107 of file G4UImessenger.cc.
Referenced by G4ScoringMessenger::Fill1D(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4ParticleGunMessenger::IonLevelCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4ScoringMessenger::MeshBinCommand(), G4LocalThreadCoutMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4GMocrenMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 117 of file G4UImessenger.cc.
Referenced by G4RunMessenger::SetNewValue().
|
private |
Definition at line 74 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
protectedinherited |
Definition at line 102 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateDirectory(), and G4UImessenger::~G4UImessenger().
|
protectedinherited |
Definition at line 103 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateCommand(), and G4UImessenger::CreateDirectory().
|
private |
Definition at line 78 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 67 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
protectedinherited |
Definition at line 104 of file G4UImessenger.hh.
Referenced by G4UImessenger::CommandsShouldBeInMaster(), and G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger().
|
private |
Definition at line 75 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 70 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 77 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), SetNewValue(), and ~G4RTMessenger().
|
staticprivate |
Definition at line 61 of file G4RTMessenger.hh.
Referenced by GetInstance().
|
private |
Definition at line 73 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 71 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 66 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), and ~G4RTMessenger().
|
private |
Definition at line 68 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 72 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 69 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().
|
private |
Definition at line 62 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), and SetNewValue().
|
private |
Definition at line 64 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 76 of file G4RTMessenger.hh.
Referenced by G4RTMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RTMessenger().