#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdSetDefaultColour< M >:
Public Member Functions | |
G4ModelCmdSetDefaultColour (M *model, const G4String &placement, const G4String &cmdName="setDefault") | |
virtual | ~G4ModelCmdSetDefaultColour () |
Protected Member Functions | |
virtual void | Apply (const G4Colour &colour) |
Definition at line 64 of file G4ModelCommandsT.hh.
G4ModelCmdSetDefaultColour< M >::G4ModelCmdSetDefaultColour | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "setDefault" | |||
) | [inline] |
Definition at line 68 of file G4ModelCommandsT.hh.
00070 :G4ModelCmdApplyColour<M>(model, placement, cmdName) {}
virtual G4ModelCmdSetDefaultColour< M >::~G4ModelCmdSetDefaultColour | ( | ) | [inline, virtual] |
virtual void G4ModelCmdSetDefaultColour< M >::Apply | ( | const G4Colour & | colour | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyColour< M >.
Definition at line 76 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00076 { 00077 G4VModelCommand<M>::Model()->SetDefault(colour); 00078 }