Declare the Messenger class. More...
#include <GN_Messenger.h>
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_Messenger * | Instance () |
Private Member Functions | |
GN_Messenger () | |
Constructor. | |
GN_Messenger (GN_Messenger const &) | |
Copy constructor. | |
GN_Messenger & | operator= (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. | |
Generator * | pGN |
Pointer to Generator class. | |
Static Private Attributes | |
static GN_Messenger * | m_pInstance = 0 |
Declare the Messenger class.
Definition at line 36 of file GN_Messenger.h.
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.
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().
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().
void GN_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Set new value.
Definition at line 143 of file GN_Messenger.cc.
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.
Generator* GN_Messenger::pGN [private] |
Pointer to Generator class.
Definition at line 68 of file GN_Messenger.h.