G4VisCommandAbortReviewKeptEvents Class Reference

#include <G4VisCommands.hh>

Inheritance diagram for G4VisCommandAbortReviewKeptEvents:

G4VVisCommand G4UImessenger

Public Member Functions

 G4VisCommandAbortReviewKeptEvents ()
virtual ~G4VisCommandAbortReviewKeptEvents ()
G4String GetCurrentValue (G4UIcommand *command)
void SetNewValue (G4UIcommand *command, G4String newValue)

Detailed Description

Definition at line 40 of file G4VisCommands.hh.


Constructor & Destructor Documentation

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]

Definition at line 61 of file G4VisCommands.cc.

00061                                                                        {
00062   delete fpCommand;
00063 }


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:44 2013 for Geant4 by  doxygen 1.4.7