#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdReset< M >:
Public Member Functions | |
G4ModelCmdReset (M *model, const G4String &placement, const G4String &cmdName="reset") | |
virtual | ~G4ModelCmdReset () |
Protected Member Functions | |
virtual void | Apply () |
Definition at line 205 of file G4ModelCommandsT.hh.
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 }
virtual G4ModelCmdReset< M >::~G4ModelCmdReset | ( | ) | [inline, virtual] |
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 }