#include <G4VisCommands.hh>
Inheritance diagram for G4VisCommandAbortReviewKeptEvents:
Public Member Functions | |
G4VisCommandAbortReviewKeptEvents () | |
virtual | ~G4VisCommandAbortReviewKeptEvents () |
G4String | GetCurrentValue (G4UIcommand *command) |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
Definition at line 40 of file G4VisCommands.hh.
G4VisCommandAbortReviewKeptEvents::G4VisCommandAbortReviewKeptEvents | ( | ) |
Definition at line 52 of file G4VisCommands.cc.
00052 { 00053 G4bool omitable; 00054 00055 fpCommand = new G4UIcmdWithABool("/vis/abortReviewKeptEvents", this); 00056 fpCommand -> SetGuidance("Abort review of kept events."); 00057 fpCommand -> SetParameterName("abort", omitable=true); 00058 fpCommand -> SetDefaultValue(true); 00059 }
G4VisCommandAbortReviewKeptEvents::~G4VisCommandAbortReviewKeptEvents | ( | ) | [virtual] |
G4String G4VisCommandAbortReviewKeptEvents::GetCurrentValue | ( | G4UIcommand * | command | ) | [virtual] |
Reimplemented from G4UImessenger.
Definition at line 65 of file G4VisCommands.cc.
00065 { 00066 return G4String(); 00067 }
void G4VisCommandAbortReviewKeptEvents::SetNewValue | ( | G4UIcommand * | command, | |
G4String | newValue | |||
) | [virtual] |
Reimplemented from G4UImessenger.
Definition at line 69 of file G4VisCommands.cc.
References G4UIcommand::ConvertToBool(), G4VVisCommand::fpVisManager, G4cout, G4endl, and G4VisManager::SetAbortReviewKeptEvents().
00070 { 00071 fpVisManager->SetAbortReviewKeptEvents(G4UIcommand::ConvertToBool(newValue)); 00072 G4cout << "Type \"continue\" to complete the abort." << G4endl; 00073 }