G4ModelCmdReset< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdReset< M >:

G4ModelCmdApplyNull< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdReset (M *model, const G4String &placement, const G4String &cmdName="reset")
virtual ~G4ModelCmdReset ()

Protected Member Functions

virtual void Apply ()

Detailed Description

template<typename M>
class G4ModelCmdReset< M >

Definition at line 205 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

template<typename M>
G4ModelCmdReset< M >::G4ModelCmdReset ( M *  model,
const G4String placement,
const G4String cmdName = "reset" 
) [inline]

Definition at line 209 of file G4ModelCommandsT.hh.

References G4ModelCmdApplyNull< M >::Command(), and G4UIcommand::SetGuidance().

00211     :G4ModelCmdApplyNull<M>(model, placement, cmdName)
00212   {
00213     G4ModelCmdApplyNull<M>::Command()->SetGuidance("Reset command");    
00214   }

template<typename M>
virtual G4ModelCmdReset< M >::~G4ModelCmdReset (  )  [inline, virtual]

Definition at line 216 of file G4ModelCommandsT.hh.

00216 {}


Member Function Documentation

template<typename M>
virtual void G4ModelCmdReset< M >::Apply (  )  [inline, protected, virtual]

Implements G4ModelCmdApplyNull< M >.

Definition at line 220 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00220                        {
00221     G4VModelCommand<M>::Model()->Reset();
00222   }


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