#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdActive< M >:
Public Member Functions | |
G4ModelCmdActive (M *model, const G4String &placement, const G4String &cmdName="active") | |
virtual | ~G4ModelCmdActive () |
Protected Member Functions | |
virtual void | Apply (const G4bool &newValue) |
Definition at line 157 of file G4ModelCommandsT.hh.
G4ModelCmdActive< M >::G4ModelCmdActive | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "active" | |||
) | [inline] |
Definition at line 161 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyBool< M >::Command(), and G4UIcommand::SetGuidance().
00163 :G4ModelCmdApplyBool<M>(model, placement, cmdName) 00164 { 00165 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Active command"); 00166 }
virtual G4ModelCmdActive< M >::~G4ModelCmdActive | ( | ) | [inline, virtual] |
virtual void G4ModelCmdActive< M >::Apply | ( | const G4bool & | newValue | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyBool< M >.
Definition at line 172 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00172 { 00173 G4VModelCommand<M>::Model()->SetActive(newValue); 00174 }