G4RTMessenger.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 //
00030 
00031 // class description:
00032 //
00033 //  This is a concrete class of G4UImessenger. This class defines various
00034 // UI commands which are unique to G4RayTracer.
00035 //
00036 
00037 
00038 #ifndef G4RTMessenger_HH
00039 #define G4RTMessenger_HH 1
00040 
00041 #include "G4UImessenger.hh"
00042 class G4UIdirectory;
00043 class G4UIcmdWithABool;
00044 class G4UIcmdWith3Vector;
00045 class G4UIcmdWith3VectorAndUnit;
00046 class G4UIcmdWithADoubleAndUnit;
00047 class G4UIcmdWithAnInteger;
00048 class G4UIcmdWithAString;
00049 class G4TheRayTracer;
00050 class G4RTSteppingAction;
00051 
00052 class G4RTMessenger : public G4UImessenger
00053 {
00054   public:
00055     static G4RTMessenger* GetInstance
00056     (G4TheRayTracer* p1,G4RTSteppingAction* p2);  // Singleton constructor.
00057     virtual ~G4RTMessenger();
00058     
00059     virtual G4String GetCurrentValue(G4UIcommand * command);
00060     virtual void SetNewValue(G4UIcommand * command,G4String newValue);
00061 
00062   private:
00063     G4RTMessenger(G4TheRayTracer* p1,G4RTSteppingAction* p2);
00064     static G4RTMessenger* fpInstance;
00065     G4TheRayTracer* theDefaultTracer;  // The first tracer to
00066                                        // instantiate this messenger.
00067     G4TheRayTracer* theTracer;         // The current tracer.
00068     G4RTSteppingAction* theSteppingAction;
00069 
00070     G4UIdirectory* rayDirectory;
00071     G4UIcmdWithAnInteger* columnCmd;
00072     G4UIcmdWithAnInteger* rowCmd;
00073     G4UIcmdWith3VectorAndUnit* targetCmd;
00074     G4UIcmdWith3VectorAndUnit* eyePosCmd;
00075     G4UIcmdWith3Vector* lightCmd;
00076     G4UIcmdWithADoubleAndUnit* spanXCmd;
00077     G4UIcmdWithADoubleAndUnit* headCmd;
00078     G4UIcmdWithADoubleAndUnit* attCmd;
00079     G4UIcmdWithABool* distCmd;
00080     G4UIcmdWithABool* transCmd;
00081     G4UIcmdWithAString* fileCmd;
00082     G4UIcmdWith3Vector* bkgColCmd;
00083 };
00084 
00085 #endif
00086 
00087 
00088 

Generated on Mon May 27 17:49:46 2013 for Geant4 by  doxygen 1.4.7