41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
// This code implementation is the intellectual property of
|
|
// the RD44 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: G4UIcontrolMessenger.hh,v 2.3 1998/10/01 15:49:53 asaim Exp $
|
|
// GEANT4 tag $Name: geant4-00 $
|
|
//
|
|
|
|
#ifndef G4UIcontrolMessenger_h
|
|
#define G4UIcontrolMessenger_h 1
|
|
|
|
#include "G4UImessenger.hh"
|
|
|
|
class G4UIdirectory;
|
|
class G4UIcmdWithAString;
|
|
class G4UIcmdWithAnInteger;
|
|
class G4UIcmdWithoutParameter;
|
|
|
|
class G4UIcontrolMessenger : public G4UImessenger
|
|
{
|
|
public:
|
|
G4UIcontrolMessenger();
|
|
~G4UIcontrolMessenger();
|
|
void SetNewValue(G4UIcommand * command,G4String newValue);
|
|
G4String GetCurrentValue(G4UIcommand * command);
|
|
|
|
private:
|
|
G4UIdirectory * controlDirectory;
|
|
G4UIcmdWithAString * ExecuteCommand;
|
|
G4UIcmdWithAnInteger * verboseCommand;
|
|
G4UIcmdWithAString * historyCommand;
|
|
G4UIcmdWithoutParameter * stopStoreHistoryCommand;
|
|
G4UIcmdWithAString * ManualCommand;
|
|
};
|
|
|
|
#endif
|
|
|