Declare the Messenger class based on G4UImessenger. More...
#include <GT_Messenger.h>
Public Member Functions | |
G4String | GetCurrentValue (G4UIcommand *command) |
Routine to get current value (not used). | |
void | setGT_SDptr (GT_SD *) |
Routine to set a pointer to the GT_SD class and define the user functions available. | |
void | SetNewValue (G4UIcommand *command, G4String newValues) |
Routines to set new values and get current values. | |
Static Public Member Functions | |
static GT_Messenger * | Instance () |
Routine to return a pointer to the single instance of GT_Messenger. | |
Private Member Functions | |
GT_Messenger () | |
These routines are kept private to preserve singleton class. | |
GT_Messenger (GT_Messenger const &) | |
Copy constructor. | |
GT_Messenger & | operator= (GT_Messenger const &) |
Assignment operator. | |
Private Attributes | |
G4UIdirectory * | GT_SDdir |
Pointer to GT_SD UI structure. | |
G4UIcmdWithoutParameter * | GT_SDgetThreshold |
Get threshold. | |
G4UIcmdWithoutParameter * | GT_SDgetXresol |
Get X resolution. | |
G4UIcmdWithoutParameter * | GT_SDgetYresol |
Get Y resolution. | |
G4UIcmdWithADoubleAndUnit * | GT_SDsetThreshold |
Set threshold. | |
G4UIcmdWithADoubleAndUnit * | GT_SDsetXresol |
Set X resolution. | |
G4UIcmdWithADoubleAndUnit * | GT_SDsetYresol |
Set Y resolution. | |
G4UIdirectory * | GTdir |
Pointer to GT UI structure. | |
GT_SD * | pGT_SD |
Pointer to GT_SD class. | |
Static Private Attributes | |
static GT_Messenger * | m_pInstance = 0 |
Data members of GT_Messenger class. |
Declare the Messenger class based on G4UImessenger.
Definition at line 35 of file GT_Messenger.h.
GT_Messenger::GT_Messenger | ( | ) | [private] |
These routines are kept private to preserve singleton class.
Constructor.
Definition at line 48 of file GT_Messenger.cc.
GT_Messenger::GT_Messenger | ( | GT_Messenger const & | ) | [inline, private] |
Copy constructor.
Definition at line 66 of file GT_Messenger.h.
G4String GT_Messenger::GetCurrentValue | ( | G4UIcommand * | command ) |
Routine to get current value (not used).
Definition at line 150 of file GT_Messenger.cc.
GT_Messenger * GT_Messenger::Instance | ( | ) | [static] |
Routine to return a pointer to the single instance of GT_Messenger.
Definition at line 39 of file GT_Messenger.cc.
Referenced by GT_SD::GT_SD().
GT_Messenger& GT_Messenger::operator= | ( | GT_Messenger const & | ) | [private] |
Assignment operator.
void GT_Messenger::setGT_SDptr | ( | GT_SD * | ptr ) |
Routine to set a pointer to the GT_SD class and define the user functions available.
Definition at line 58 of file GT_Messenger.cc.
Referenced by GT_SD::GT_SD().
void GT_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Routines to set new values and get current values.
Definition at line 111 of file GT_Messenger.cc.
G4UIdirectory* GT_Messenger::GT_SDdir [private] |
Pointer to GT_SD UI structure.
Definition at line 81 of file GT_Messenger.h.
G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetThreshold [private] |
Get threshold.
Definition at line 84 of file GT_Messenger.h.
G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetXresol [private] |
Get X resolution.
Definition at line 86 of file GT_Messenger.h.
G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetYresol [private] |
Get Y resolution.
Definition at line 88 of file GT_Messenger.h.
G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetThreshold [private] |
Set threshold.
Definition at line 83 of file GT_Messenger.h.
G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetXresol [private] |
Set X resolution.
Definition at line 85 of file GT_Messenger.h.
G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetYresol [private] |
Set Y resolution.
Definition at line 87 of file GT_Messenger.h.
G4UIdirectory* GT_Messenger::GTdir [private] |
Pointer to GT UI structure.
Definition at line 78 of file GT_Messenger.h.
GT_Messenger * GT_Messenger::m_pInstance = 0 [static, private] |
Data members of GT_Messenger class.
Instance of GT_Messenger class.
Definition at line 76 of file GT_Messenger.h.
GT_SD* GT_Messenger::pGT_SD [private] |
Pointer to GT_SD class.
Definition at line 80 of file GT_Messenger.h.