G4ModelCmdDraw< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdDraw< M >:

G4ModelCmdApplyBool< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdDraw (M *model, const G4String &placement, const G4String &cmdName="draw")
virtual ~G4ModelCmdDraw ()

Protected Member Functions

virtual void Apply (const G4bool &newValue)

Detailed Description

template<typename M>
class G4ModelCmdDraw< M >

Definition at line 760 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

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

Definition at line 764 of file G4ModelCommandsT.hh.

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

00766     :G4ModelCmdApplyBool<M>(model, placement, cmdName)
00767   {
00768     G4ModelCmdApplyBool<M>::Command()->SetGuidance("Draw command");
00769   }

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

Definition at line 771 of file G4ModelCommandsT.hh.

00771 {}


Member Function Documentation

template<typename M>
virtual void G4ModelCmdDraw< M >::Apply ( const G4bool newValue  )  [inline, protected, virtual]

Implements G4ModelCmdApplyBool< M >.

Definition at line 775 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00775                                              {
00776     if (newValue) G4VModelCommand<M>::Model()->Draw();
00777   }


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