G4ModelCmdSetTimeSliceInterval< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdSetTimeSliceInterval< M >:

G4ModelCmdApplyDoubleAndUnit< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdSetTimeSliceInterval (M *model, const G4String &placement, const G4String &cmdName="setTimeSliceInterval")

Protected Member Functions

void Apply (const G4double &myDouble)

Detailed Description

template<typename M>
class G4ModelCmdSetTimeSliceInterval< M >

Definition at line 710 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

template<typename M>
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   }


Member Function Documentation

template<typename M>
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   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:30 2013 for Geant4 by  doxygen 1.4.7