Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorMessenger Class Reference

#include <DetectorMessenger.hh>

Inheritance diagram for DetectorMessenger:
Collaboration diagram for DetectorMessenger:

Public Member Functions

 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *detector)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
virtual ~DetectorMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 DetectorMessenger (DetectorConstruction *)
 
 ~DetectorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Messenger class that defines commands for DetectorConstruction.

It implements commands:

  • /transform/setMethod method

Messenger class that defines commands for DetectorConstruction.

  • /PDB4DNA/det/loadPDB stringfilename
  • /PDB4DNA/det/drawAtoms
  • /PDB4DNA/det/drawNucleotides
  • /PDB4DNA/det/drawResidues
  • /PDB4DNA/det/buildBoundingV
  • /PDB4DNA/det/drawAtomsWithBounding
  • /PDB4DNA/det/drawNucleotidesWithBounding
  • /PDB4DNA/det/drawResiduesWithBounding

Definition at line 43 of file DetectorMessenger.hh.

Constructor & Destructor Documentation

DetectorMessenger::DetectorMessenger ( DetectorConstruction Det)

Definition at line 39 of file DetectorMessenger.cc.

40 :Detector(Det)
41 {
42  testemDir = new G4UIdirectory("/testem/");
43  testemDir->SetGuidance("commands specific to this example");
44 
45  detDir = new G4UIdirectory("/testem/det/");
46  detDir->SetGuidance("detector construction commands");
47 
48  MaterCmd = new G4UIcmdWithAString("/testem/det/setMat",this);
49  MaterCmd->SetGuidance("Select material of the box.");
50  MaterCmd->SetParameterName("choice",false);
52 }
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161
void AvailableForStates(G4ApplicationState s1)
Definition: G4UIcommand.cc:240

Here is the call graph for this function:

DetectorMessenger::~DetectorMessenger ( )

Definition at line 56 of file DetectorMessenger.cc.

57 {
58  delete MaterCmd;
59  delete detDir;
60  delete testemDir;
61 }
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction detector)
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
virtual DetectorMessenger::~DetectorMessenger ( )
virtual
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )
DetectorMessenger::DetectorMessenger ( DetectorConstruction )
DetectorMessenger::~DetectorMessenger ( )

Member Function Documentation

void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

void DetectorMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 65 of file DetectorMessenger.cc.

66 {
67  if( command == MaterCmd )
68  { Detector->SetMaterial(newValue);}
69 }

Here is the call graph for this function:

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void DetectorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.


The documentation for this class was generated from the following files: