#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdSetTimeSliceInterval< M >:
Public Member Functions | |
G4ModelCmdSetTimeSliceInterval (M *model, const G4String &placement, const G4String &cmdName="setTimeSliceInterval") | |
Protected Member Functions | |
void | Apply (const G4double &myDouble) |
Definition at line 710 of file G4ModelCommandsT.hh.
G4ModelCmdSetTimeSliceInterval< M >::G4ModelCmdSetTimeSliceInterval | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "setTimeSliceInterval" | |||
) | [inline] |
Definition at line 714 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyDoubleAndUnit< M >::Command(), G4UIcommand::SetGuidance(), and G4UIcmdWithADoubleAndUnit::SetUnitCategory().
00716 :G4ModelCmdApplyDoubleAndUnit<M>(model, placement, cmdName) 00717 { 00718 G4UIcmdWithADoubleAndUnit* cmd = G4ModelCmdApplyDoubleAndUnit<M>::Command(); 00719 cmd->SetGuidance 00720 ("Set time slice interval. Give unit, e.g., \"0.1 ns\""); 00721 cmd->SetUnitCategory("Time"); 00722 }
void G4ModelCmdSetTimeSliceInterval< M >::Apply | ( | const G4double & | myDouble | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyDoubleAndUnit< M >.
Definition at line 726 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00726 { 00727 G4VModelCommand<M>::Model()->SetTimeSliceInterval(myDouble); 00728 }