#include <G4UImessenger.hh>
Inherited by G4AdjointSimMessenger, G4AnalysisMessenger, G4ASCIITreeMessenger, G4CascadeParamMessenger, G4DecayTableMessenger, G4DMmessenger, G4DNAChemistryManager, G4EmMessenger, G4EmParametersMessenger, G4ErrorMessenger, G4EvManMessenger, G4FastSimulationMessenger, G4FileMessenger, G4GDMLMessenger, G4GeneralParticleSourceMessenger, G4GenericMessenger, G4GeometryMessenger, G4GlobalMagFieldMessenger, G4GMocrenMessenger, G4H1Messenger, G4H2Messenger, G4H3Messenger, G4HadronicEPTestMessenger, G4HepRepMessenger, G4HnMessenger, G4INCLXXInterfaceMessenger, G4InteractorMessenger, G4LocalThreadCoutMessenger, G4MatScanMessenger, G4ModelCmdCreateContextDir< M >, G4MoleculeGunMessenger, G4MoleculeShootMessenger, G4NeutronKillerMessenger, G4NistMessenger, G4NtupleMessenger, G4NuclideTableMessenger, G4OpenGLViewerMessenger, G4OpticalPhysicsMessenger, G4P1Messenger, G4P2Messenger, G4ParticleGunMessenger, G4ParticleHPMessenger, G4ParticleMessenger, G4ParticlePropertyMessenger, G4PersistencyCenterMessenger, G4PlotMessenger, G4PolarizationMessenger, G4ProcessManagerMessenger, G4ProcessTableMessenger, G4ProductionCutsTableMessenger, G4RadioactiveDecaymessenger, G4ReactionTableMessenger, G4RTMessenger, G4RunMessenger, G4SchedulerMessenger, G4ScoreQuantityMessenger, G4ScoringMessenger, G4SDmessenger, G4StackingMessenger, G4tgrMessenger, G4TrackingMessenger, G4UCNBoundaryProcessMessenger, G4UIcontrolMessenger, G4UnitsMessenger, G4UserPhysicsListMessenger, G4VisCommandListManagerList< Manager >, G4VisCommandListManagerSelect< Manager >, G4VisCommandManagerMode< Manager >, G4VITSteppingVerbose [private]
, G4VModelCommand< T >, G4VModelCommand< M >, G4VVisCommand, and GFlashShowerModelMessenger.
Definition at line 47 of file G4UImessenger.hh.
G4UImessenger::G4UImessenger |
( |
| ) |
|
G4UImessenger::G4UImessenger |
( |
const G4String & |
path, |
|
|
const G4String & |
dsc, |
|
|
G4bool |
commandsToBeBroadcasted = true |
|
) |
| |
Definition at line 43 of file G4UImessenger.cc.
void CreateDirectory(const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
G4bool commandsShouldBeInMaster
G4UImessenger::~G4UImessenger |
( |
| ) |
|
|
virtual |
Definition at line 118 of file G4UImessenger.cc.
120 G4cerr <<
"Warning : Old style definition of G4UIcommand <"
const G4String & GetCommandPath() const
G4GLOB_DLL std::ostream G4cerr
G4bool G4UImessenger::CommandsShouldBeInMaster |
( |
| ) |
const |
|
inline |
template<typename T >
T * G4UImessenger::CreateCommand |
( |
const G4String & |
cname, |
|
|
const G4String & |
dsc |
|
) |
| |
|
protected |
Definition at line 100 of file G4UImessenger.hh.
103 if( cname(0) !=
'/' ) {
105 if (path(0) !=
'/') path =
"/" + path;
108 T* command =
new T(path.c_str(),
this);
109 command-> SetGuidance(dsc.c_str());
Definition at line 124 of file G4UImessenger.cc.
130 if(fullpath(fullpath.length()-1) !=
'/') fullpath.
append(
"/");
132 G4UIcommandTree* tree= ui-> GetTree()-> FindCommandTree(fullpath.c_str());
138 baseDir-> SetGuidance(dsc.c_str());
static G4UImanager * GetUIpointer()
G4String & append(const G4String &)
Reimplemented in G4VisCommandSceneAddVolume, G4VisCommandSceneAddUserAction, G4VisCommandSceneAddTrajectories, G4VisCommandSceneAddText2D, G4VisCommandSceneAddText, G4VisCommandSceneAddScale, G4VisCommandSceneAddPSHits, G4VisCommandViewerZoom, G4VisCommandSceneAddMagneticField, G4VisCommandViewerUpdate, G4VisCommandViewerSelect, G4VisCommandGeometrySetVisibility, G4VisCommandSceneAddLogo2D, G4VisCommandViewerScale, G4VisCommandGeometrySetLineWidth, G4VisCommandSceneAddLogo, G4VisCommandViewerSave, G4VisCommandGeometrySetLineStyle, G4VisCommandSceneAddLogicalVolume, G4VisCommandViewerRebuild, G4VisCommandGeometrySetForceWireframe, G4VisCommandViewerRefresh, G4VisCommandSceneAddLine2D, G4VisCommandGeometrySetForceLineSegmentsPerCircle, G4VisCommandViewerReset, G4VisCommandGeometrySetForceSolid, G4VisCommandViewerPan, G4VisCommandSceneAddLine, G4VisCommandViewerList, G4VisCommandGeometrySetForceAuxEdgeVisible, G4VisCommandSceneAddHits, G4VisCommandViewerInterpolate, G4VisCommandSceneAddGhosts, G4VisCommandGeometrySetDaughtersInvisible, G4VisCommandViewerFlush, G4VisCommandGeometrySetColour, G4VisCommandSceneAddFrame, G4VisCommandManagerMode< Manager >, G4VisCommandViewerDolly, G4VisCommandViewerCreate, G4VisCommandSceneAddExtent, G4VisCommandViewerCopyViewFrom, G4GeneralParticleSourceMessenger, G4VisCommandSceneAddEventID, G4VisCommandViewerClone, G4VisCommandSceneSelect, G4VisCommandSceneAddDigis, G4VITSteppingVerbose, G4VisCommandViewerClearVisAttributesModifiers, G4VisCommandListManagerSelect< Manager >, G4VisCommandSceneNotifyHandlers, G4DNAChemistryManager, G4VisCommandViewerClearTransients, G4VisCommandSceneList, G4VisCommandSetTouchable, G4VisCommandVerbose, G4ParticleMessenger, G4MoleculeGunMessenger, G4VisCommandViewerClearCutawayPlanes, G4VisCommandSceneAddDate, G4VisCommandSceneEndOfRunAction, G4VisCommandSetTextSize, G4VisCommandReviewKeptEvents, G4UserPhysicsListMessenger, G4UIcontrolMessenger, G4VisCommandViewerClear, G4VisCommandSceneAddAxes, G4ProcessManagerMessenger, G4VisCommandSceneEndOfEventAction, G4VisCommandSetTextLayout, G4VisCommandList, G4VisCommandSceneHandlerSelect, G4ParticlePropertyMessenger, G4ProductionCutsTableMessenger, G4RunMessenger, G4DecayTableMessenger, G4SchedulerMessenger, G4ScoringMessenger, G4ProcessTableMessenger, G4VisCommandViewerChangeCutawayPlane, G4MoleculeShootMessenger, G4ScoreQuantityMessenger, G4PolarizationMessenger, G4VisCommandSetTextColour, G4VisCommandGeometryRestore, G4VisCommandSceneCreate, G4VisCommandSceneHandlerList, G4TrackingMessenger, G4GeometryMessenger, GFlashShowerModelMessenger, G4ParticleGunMessenger, G4VisCommandSceneAddArrow2D, G4PersistencyCenterMessenger, G4VisCommandViewerAddCutawayPlane, G4tgrMessenger, G4VisCommandSetLineWidth, G4RTMessenger, G4VisCommandEnable, G4VisCommandGeometryList, G4VModelCommand< T >, G4VModelCommand< M >, G4VisCommandModelCreate< Factory >, G4VisCommandSceneActivateModel, G4VisCommandSceneHandlerCreate, G4VisCommandViewerDefaultStyle, G4EvManMessenger, G4GenericMessenger, G4MatScanMessenger, G4VisCommandListManagerList< Manager >, G4GMocrenMessenger, G4ASCIITreeMessenger, G4VisCommandSceneAddArrow, G4VisCommandsViewerSet, G4HepRepMessenger, G4VisCommandsTouchableSet, G4VisCommandSetColour, G4VisCommandAbortReviewKeptEvents, G4VisCommandSceneHandlerAttach, G4VisCommandViewerDefaultHiddenEdge, and G4VisCommandsTouchable.
Definition at line 55 of file G4UImessenger.cc.
Reimplemented in G4ModelCmdApplyString< M >, G4ModelCmdApplyInteger< M >, G4ModelCmdApplyDoubleAndUnit< M >, G4VisCommandSceneAddVolume, G4VisCommandSceneAddUserAction, G4VisCommandSceneAddTrajectories, G4VisCommandSceneAddText2D, G4ModelCmdApplyDouble< M >, G4VisCommandSceneAddText, G4VisCommandSceneAddScale, G4VisCommandSceneAddPSHits, G4VisCommandViewerZoom, G4VisCommandSceneAddMagneticField, G4ModelCmdApplyNull< M >, G4VisCommandViewerUpdate, G4VisCommandViewerSelect, G4VisCommandGeometrySetVisibility, G4VisCommandSceneAddLogo2D, G4VisCommandViewerScale, G4VisCommandGeometrySetLineWidth, G4VisCommandSceneAddLogo, G4VisCommandViewerSave, G4VisCommandGeometrySetLineStyle, G4ModelCmdApplyBool< M >, G4VisCommandSceneAddLogicalVolume, G4VisCommandViewerRebuild, G4VisCommandGeometrySetForceWireframe, G4VisCommandViewerRefresh, G4VisCommandSceneAddLine2D, G4VisCommandGeometrySetForceLineSegmentsPerCircle, G4VisCommandViewerReset, G4VisCommandGeometrySetForceSolid, G4VisCommandViewerPan, G4VisCommandSceneAddLine, G4VisCommandViewerList, G4VisCommandGeometrySetForceAuxEdgeVisible, G4VisCommandSceneAddHits, G4VisCommandViewerInterpolate, G4VisCommandSceneAddGhosts, G4VisCommandGeometrySetDaughtersInvisible, G4VisCommandViewerFlush, G4VisCommandGeometrySetColour, G4VisCommandSceneAddFrame, G4VisCommandManagerMode< Manager >, G4VisCommandViewerDolly, G4ModelCmdApplyColour< M >, G4VisCommandViewerCreate, G4VisCommandSceneAddExtent, G4VisCommandViewerCopyViewFrom, G4AdjointSimMessenger, G4GeneralParticleSourceMessenger, G4VisCommandSceneAddEventID, G4VisCommandViewerClone, G4VisCommandSceneSelect, G4VisCommandSceneAddDigis, G4VisCommandViewerClearVisAttributesModifiers, G4VisCommandListManagerSelect< Manager >, G4VisCommandSceneNotifyHandlers, G4VITSteppingVerbose, G4DNAChemistryManager, G4VisCommandViewerClearTransients, G4VisCommandSceneList, G4VisCommandSetTouchable, G4VisCommandVerbose, G4ParticleMessenger, G4VisCommandViewerClearCutawayPlanes, G4MoleculeGunMessenger, G4VisCommandSceneAddDate, G4VisCommandSceneEndOfRunAction, G4VisCommandSetTextSize, G4VisCommandReviewKeptEvents, G4RadioactiveDecaymessenger, G4UserPhysicsListMessenger, G4NistMessenger, G4VisCommandViewerClear, G4VisCommandSceneAddAxes, G4UIcontrolMessenger, G4OpticalPhysicsMessenger, G4VisCommandSpecify, G4VisCommandSceneEndOfEventAction, G4VisCommandSetTextLayout, G4VisCommandList, G4VisCommandSceneHandlerSelect, G4ProcessManagerMessenger, G4ParticlePropertyMessenger, G4ProductionCutsTableMessenger, G4RunMessenger, G4EmParametersMessenger, G4VisCommandViewerChangeCutawayPlane, G4DecayTableMessenger, G4SchedulerMessenger, G4VisCommandOpen, G4AnalysisMessenger, G4ProcessTableMessenger, G4ScoringMessenger, G4MoleculeShootMessenger, G4UCNBoundaryProcessMessenger, G4VisCommandSetTextColour, G4VisCommandInitialize, G4VisCommandGeometryRestore, G4VisCommandSceneCreate, G4VisCommandSceneHandlerList, G4PolarizationMessenger, G4ScoreQuantityMessenger, G4TrackingMessenger, G4GeometryMessenger, G4INCLXXInterfaceMessenger, G4NuclideTableMessenger, G4GlobalMagFieldMessenger, GFlashShowerModelMessenger, G4VisCommandSceneAddArrow2D, G4ErrorMessenger, G4VisCommandDrawVolume, G4VisCommandViewerAddCutawayPlane, G4ParticleGunMessenger, G4GDMLMessenger, G4FastSimulationMessenger, G4NeutronKillerMessenger, G4ModelCmdApplyStringColour< M >, G4PersistencyCenterMessenger, G4CascadeParamMessenger, G4DMmessenger, G4VisCommandSetLineWidth, G4RTMessenger, G4H1Messenger, G4SDmessenger, G4HadronicEPTestMessenger, G4VisCommandEnable, G4VisCommandGeometryList, G4GenericMessenger, G4tgrMessenger, G4EmMessenger, G4VisCommandModelCreate< Factory >, G4VisCommandSceneActivateModel, G4VisCommandSceneHandlerCreate, G4VisCommandViewerDefaultStyle, G4FileMessenger, G4UnitsMessenger, G4MatScanMessenger, G4HnMessenger, G4PlotMessenger, G4LocalThreadCoutMessenger, G4VisCommandListManagerList< Manager >, G4H2Messenger, G4H3Messenger, G4P1Messenger, G4P2Messenger, G4EvManMessenger, G4StackingMessenger, G4GMocrenMessenger, G4NtupleMessenger, G4ASCIITreeMessenger, G4VisCommandDrawView, G4VisCommandSceneAddArrow, G4VisCommandsViewerSet, G4HepRepMessenger, G4OpenGLViewerMessenger, G4ReactionTableMessenger, G4VisCommandsTouchableSet, G4VisCommandSetColour, G4VisCommandAbortReviewKeptEvents, G4VisCommandSceneHandlerAttach, G4VisCommandViewerDefaultHiddenEdge, G4ParticleHPMessenger, G4VisCommandsTouchable, G4InteractorMessenger, and G4VisCommandDrawTree.
Definition at line 61 of file G4UImessenger.cc.
Definition at line 107 of file G4UImessenger.cc.
112 if( v==
"Y" || v==
"YES" || v==
"1" || v==
"T" || v==
"TRUE" )
G4bool G4UImessenger::commandsShouldBeInMaster |
|
protected |
The documentation for this class was generated from the following files: