#include <G4ModelApplyCommandsT.hh>
Inheritance diagram for G4ModelCmdApplyNull< M >:
Public Member Functions | |
G4ModelCmdApplyNull (M *model, const G4String &placement, const G4String &cmdName) | |
virtual | ~G4ModelCmdApplyNull () |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
Protected Member Functions | |
virtual void | Apply ()=0 |
G4UIcommand * | Command () |
Definition at line 313 of file G4ModelApplyCommandsT.hh.
G4ModelCmdApplyNull< M >::G4ModelCmdApplyNull | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName | |||
) |
Definition at line 337 of file G4ModelApplyCommandsT.hh.
00338 :G4VModelCommand<M>(model, placement) 00339 { 00340 G4String dir = placement+"/"+model->Name()+"/"+cmdName; 00341 fpCmd = new G4UIcommand(dir, this); 00342 }
G4ModelCmdApplyNull< M >::~G4ModelCmdApplyNull | ( | ) | [virtual] |
virtual void G4ModelCmdApplyNull< M >::Apply | ( | ) | [protected, pure virtual] |
G4UIcommand* G4ModelCmdApplyNull< M >::Command | ( | ) | [inline, protected] |
Definition at line 328 of file G4ModelApplyCommandsT.hh.
Referenced by G4ModelCmdReset< M >::G4ModelCmdReset().
void G4ModelCmdApplyNull< M >::SetNewValue | ( | G4UIcommand * | command, | |
G4String | newValue | |||
) | [virtual] |
Reimplemented from G4UImessenger.
Definition at line 351 of file G4ModelApplyCommandsT.hh.
References G4ModelCmdApplyNull< M >::Apply(), G4VVisManager::GetConcreteInstance(), and G4VVisManager::NotifyHandlers().
00352 { 00353 Apply(); 00354 G4VVisManager* visManager = G4VVisManager::GetConcreteInstance(); 00355 if (visManager) visManager->NotifyHandlers(); 00356 }