Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

GN_Messenger Class Reference

Declare the Messenger class. More...

#include <GN_Messenger.h>

Inheritance diagram for GN_Messenger:
Inheritance graph
[legend]
Collaboration diagram for GN_Messenger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

G4String GetCurrentValue (G4UIcommand *command)
 Get current value.
void setGNptr (Generator *ptr)
void SetNewValue (G4UIcommand *command, G4String newValues)
 Set new value.

Static Public Member Functions

static GN_MessengerInstance ()

Private Member Functions

 GN_Messenger ()
 Constructor.
 GN_Messenger (GN_Messenger const &)
 Copy constructor.
GN_Messengeroperator= (GN_Messenger const &)
 Assignment operator.

Private Attributes

G4UIdirectory * GNdir
 Pointer to Gen UI structure.
G4UIcmdWithoutParameter * GNgetBeamCharge
 Beam charge.
G4UIcmdWithoutParameter * GNgetEbeam
 Beam kinetic energy.
G4UIcmdWithoutParameter * GNgetepPhiMax
 epPhi_Max.
G4UIcmdWithoutParameter * GNgetepPhiMin
 epPhi_Min.
G4UIcmdWithoutParameter * GNgetepThetaMax
 epTheta_Max.
G4UIcmdWithoutParameter * GNgetepThetaMin
 epTheta_Min.
G4UIcmdWithAnInteger * GNsetBeamCharge
 Beam charge.
G4UIcmdWithADoubleAndUnit * GNsetEbeam
 Beam kinetic energy.
G4UIcmdWithADoubleAndUnit * GNsetepPhiMax
 epPhi_Max.
G4UIcmdWithADoubleAndUnit * GNsetepPhiMin
 epPhi_Min.
G4UIcmdWithADoubleAndUnit * GNsetepThetaMax
 epTheta_Max.
G4UIcmdWithADoubleAndUnit * GNsetepThetaMin
 epTheta_Min.
GeneratorpGN
 Pointer to Generator class.

Static Private Attributes

static GN_Messengerm_pInstance = 0

Detailed Description

Declare the Messenger class.

Definition at line 36 of file GN_Messenger.h.


Constructor & Destructor Documentation

GN_Messenger::GN_Messenger (  ) [private]

Constructor.

Definition at line 45 of file GN_Messenger.cc.

GN_Messenger::GN_Messenger ( GN_Messenger const &   ) [inline, private]

Copy constructor.

Definition at line 60 of file GN_Messenger.h.


Member Function Documentation

G4String GN_Messenger::GetCurrentValue ( G4UIcommand *  command )

Get current value.

Definition at line 214 of file GN_Messenger.cc.

GN_Messenger * GN_Messenger::Instance (  ) [static]

Definition at line 36 of file GN_Messenger.cc.

Referenced by Generator::Generator().

Here is the caller graph for this function:

GN_Messenger& GN_Messenger::operator= ( GN_Messenger const &   ) [private]

Assignment operator.

void GN_Messenger::setGNptr ( Generator ptr )

Definition at line 52 of file GN_Messenger.cc.

Referenced by Generator::Generator().

Here is the caller graph for this function:

void GN_Messenger::SetNewValue ( G4UIcommand *  command,
G4String  newValues 
)

Set new value.

Definition at line 143 of file GN_Messenger.cc.


Member Data Documentation

G4UIdirectory* GN_Messenger::GNdir [private]

Pointer to Gen UI structure.

Definition at line 69 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetBeamCharge [private]

Beam charge.

Definition at line 74 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetEbeam [private]

Beam kinetic energy.

Definition at line 72 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetepPhiMax [private]

epPhi_Max.

Definition at line 82 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetepPhiMin [private]

epPhi_Min.

Definition at line 80 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetepThetaMax [private]

epTheta_Max.

Definition at line 78 of file GN_Messenger.h.

G4UIcmdWithoutParameter* GN_Messenger::GNgetepThetaMin [private]

epTheta_Min.

Definition at line 76 of file GN_Messenger.h.

G4UIcmdWithAnInteger* GN_Messenger::GNsetBeamCharge [private]

Beam charge.

Definition at line 73 of file GN_Messenger.h.

G4UIcmdWithADoubleAndUnit* GN_Messenger::GNsetEbeam [private]

Beam kinetic energy.

Definition at line 71 of file GN_Messenger.h.

G4UIcmdWithADoubleAndUnit* GN_Messenger::GNsetepPhiMax [private]

epPhi_Max.

Definition at line 81 of file GN_Messenger.h.

G4UIcmdWithADoubleAndUnit* GN_Messenger::GNsetepPhiMin [private]

epPhi_Min.

Definition at line 79 of file GN_Messenger.h.

G4UIcmdWithADoubleAndUnit* GN_Messenger::GNsetepThetaMax [private]

epTheta_Max.

Definition at line 77 of file GN_Messenger.h.

G4UIcmdWithADoubleAndUnit* GN_Messenger::GNsetepThetaMin [private]

epTheta_Min.

Definition at line 75 of file GN_Messenger.h.

GN_Messenger * GN_Messenger::m_pInstance = 0 [static, private]

Definition at line 66 of file GN_Messenger.h.

Pointer to Generator class.

Definition at line 68 of file GN_Messenger.h.


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