46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4EvManMessenger.hh,v 1.3 1999/12/15 14:49:38 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-01 $
|
|
//
|
|
|
|
#ifndef G4EvManMessenger_h
|
|
#define G4EvManMessenger_h 1
|
|
|
|
#include "G4UImessenger.hh"
|
|
class G4EventManager;
|
|
class G4UIdirectory;
|
|
class G4UIcmdWithoutParameter;
|
|
class G4UIcmdWithAnInteger;
|
|
|
|
// class description:
|
|
//
|
|
// This is a concrete class of G4UImessenger which takes care of commands
|
|
// addressed to G4EventManager. Commands handled by this messenger are
|
|
// /event/
|
|
// /event/abort
|
|
// /event/verbose
|
|
//
|
|
|
|
class G4EvManMessenger: public G4UImessenger
|
|
{
|
|
public:
|
|
G4EvManMessenger(G4EventManager * fEvMan);
|
|
~G4EvManMessenger();
|
|
void SetNewValue(G4UIcommand * command,G4String newValues);
|
|
G4String GetCurrentValue(G4UIcommand * command);
|
|
private:
|
|
G4EventManager * fEvManager;
|
|
G4UIdirectory* eventDirectory;
|
|
G4UIcmdWithoutParameter* abortCmd;
|
|
G4UIcmdWithAnInteger* verboseCmd;
|
|
};
|
|
|
|
#endif
|
|
|