#include <G4ModelApplyCommandsT.hh>
Inheritance diagram for G4ModelCmdApplyString< M >:
Public Member Functions | |
G4ModelCmdApplyString (M *model, const G4String &placement, const G4String &cmdName) | |
virtual | ~G4ModelCmdApplyString () |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
Protected Member Functions | |
virtual void | Apply (const G4String &)=0 |
G4UIcmdWithAString * | Command () |
Definition at line 510 of file G4ModelApplyCommandsT.hh.
G4ModelCmdApplyString< M >::G4ModelCmdApplyString | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName | |||
) |
Definition at line 534 of file G4ModelApplyCommandsT.hh.
00535 :G4VModelCommand<M>(model, placement) 00536 { 00537 G4String dir = placement+"/"+model->Name()+"/"+cmdName; 00538 00539 fpCmd = new G4UIcmdWithAString(dir, this); 00540 }
G4ModelCmdApplyString< M >::~G4ModelCmdApplyString | ( | ) | [virtual] |
virtual void G4ModelCmdApplyString< M >::Apply | ( | const G4String & | ) | [protected, pure virtual] |
Implemented in G4ModelCmdAddString< M >, G4ModelCmdSetAuxPtsSize< M >, G4ModelCmdSetStepPtsSize< M >, G4ModelCmdSetStepPtsType< M >, G4ModelCmdSetAuxPtsType< M >, G4ModelCmdSetStepPtsSizeType< M >, G4ModelCmdSetAuxPtsSizeType< M >, G4ModelCmdSetStepPtsFillStyle< M >, G4ModelCmdSetAuxPtsFillStyle< M >, G4ModelCmdAddInterval< M >, G4ModelCmdAddValue< M >, G4ModelCmdSetString< M >, G4ModelCmdAddIntervalContext< M >, and G4ModelCmdAddValueContext< M >.
Referenced by G4ModelCmdApplyString< M >::SetNewValue().
G4UIcmdWithAString* G4ModelCmdApplyString< M >::Command | ( | ) | [inline, protected] |
Definition at line 525 of file G4ModelApplyCommandsT.hh.
Referenced by G4ModelCmdAddInterval< M >::G4ModelCmdAddInterval(), G4ModelCmdAddIntervalContext< M >::G4ModelCmdAddIntervalContext(), G4ModelCmdAddString< M >::G4ModelCmdAddString(), G4ModelCmdAddValue< M >::G4ModelCmdAddValue(), G4ModelCmdAddValueContext< M >::G4ModelCmdAddValueContext(), G4ModelCmdSetAuxPtsFillStyle< M >::G4ModelCmdSetAuxPtsFillStyle(), G4ModelCmdSetAuxPtsSize< M >::G4ModelCmdSetAuxPtsSize(), G4ModelCmdSetAuxPtsSizeType< M >::G4ModelCmdSetAuxPtsSizeType(), G4ModelCmdSetAuxPtsType< M >::G4ModelCmdSetAuxPtsType(), G4ModelCmdSetStepPtsFillStyle< M >::G4ModelCmdSetStepPtsFillStyle(), G4ModelCmdSetStepPtsSize< M >::G4ModelCmdSetStepPtsSize(), G4ModelCmdSetStepPtsSizeType< M >::G4ModelCmdSetStepPtsSizeType(), G4ModelCmdSetStepPtsType< M >::G4ModelCmdSetStepPtsType(), and G4ModelCmdSetString< M >::G4ModelCmdSetString().
void G4ModelCmdApplyString< M >::SetNewValue | ( | G4UIcommand * | command, | |
G4String | newValue | |||
) | [virtual] |
Reimplemented from G4UImessenger.
Definition at line 549 of file G4ModelApplyCommandsT.hh.
References G4ModelCmdApplyString< M >::Apply(), G4VVisManager::GetConcreteInstance(), and G4VVisManager::NotifyHandlers().
00550 { 00551 Apply(newValue); 00552 G4VVisManager* visManager = G4VVisManager::GetConcreteInstance(); 00553 if (visManager) visManager->NotifyHandlers(); 00554 }