Declare the Messenger class. More...
#include <LM_Messenger.h>
Public Member Functions | |
G4String | GetCurrentValue (G4UIcommand *command) |
Routine to get current value (not used). | |
void | setLM_SDptr (LM_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 LM_Messenger * | Instance () |
Routine to return a pointer to the single instance of GT_Messenger. | |
Private Member Functions | |
LM_Messenger () | |
Constructor. | |
LM_Messenger (LM_Messenger const &) | |
Copy constructor. | |
LM_Messenger & | operator= (LM_Messenger const &) |
Assignment operator. | |
Private Attributes | |
G4UIdirectory * | LM_SDdir |
Pointer to LM_SD UI structure. | |
G4UIcmdWithoutParameter * | LM_SDgetThreshold |
Get threshold. | |
G4UIcmdWithoutParameter * | LM_SDgetXresol |
Get X resolution. | |
G4UIcmdWithoutParameter * | LM_SDgetYresol |
Get Y resolution. | |
G4UIcmdWithADoubleAndUnit * | LM_SDsetThreshold |
Set threshold. | |
G4UIcmdWithADoubleAndUnit * | LM_SDsetXresol |
Set X resolution. | |
G4UIcmdWithADoubleAndUnit * | LM_SDsetYresol |
Set Y resolution. | |
G4UIdirectory * | LMdir |
Pointer to LM UI structure. | |
LM_SD * | pLM_SD |
Pointer to LM_SD class. | |
Static Private Attributes | |
static LM_Messenger * | m_pInstance = 0 |
Data members of LM_Messenger class. |
Declare the Messenger class.
Definition at line 35 of file LM_Messenger.h.
LM_Messenger::LM_Messenger | ( | ) | [private] |
Constructor.
Definition at line 46 of file LM_Messenger.cc.
LM_Messenger::LM_Messenger | ( | LM_Messenger const & | ) | [inline, private] |
Copy constructor.
Definition at line 64 of file LM_Messenger.h.
G4String LM_Messenger::GetCurrentValue | ( | G4UIcommand * | command ) |
Routine to get current value (not used).
Definition at line 148 of file LM_Messenger.cc.
LM_Messenger * LM_Messenger::Instance | ( | ) | [static] |
Routine to return a pointer to the single instance of GT_Messenger.
Definition at line 37 of file LM_Messenger.cc.
Referenced by LM_SD::LM_SD().
LM_Messenger& LM_Messenger::operator= | ( | LM_Messenger const & | ) | [private] |
Assignment operator.
void LM_Messenger::setLM_SDptr | ( | LM_SD * | ptr ) |
Routine to set a pointer to the GT_SD class and define the user functions available.
Definition at line 56 of file LM_Messenger.cc.
Referenced by LM_SD::LM_SD().
void LM_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Routines to set new values and get current values.
Definition at line 109 of file LM_Messenger.cc.
G4UIdirectory* LM_Messenger::LM_SDdir [private] |
Pointer to LM_SD UI structure.
Definition at line 79 of file LM_Messenger.h.
G4UIcmdWithoutParameter* LM_Messenger::LM_SDgetThreshold [private] |
Get threshold.
Definition at line 82 of file LM_Messenger.h.
G4UIcmdWithoutParameter* LM_Messenger::LM_SDgetXresol [private] |
Get X resolution.
Definition at line 84 of file LM_Messenger.h.
G4UIcmdWithoutParameter* LM_Messenger::LM_SDgetYresol [private] |
Get Y resolution.
Definition at line 86 of file LM_Messenger.h.
G4UIcmdWithADoubleAndUnit* LM_Messenger::LM_SDsetThreshold [private] |
Set threshold.
Definition at line 81 of file LM_Messenger.h.
G4UIcmdWithADoubleAndUnit* LM_Messenger::LM_SDsetXresol [private] |
Set X resolution.
Definition at line 83 of file LM_Messenger.h.
G4UIcmdWithADoubleAndUnit* LM_Messenger::LM_SDsetYresol [private] |
Set Y resolution.
Definition at line 85 of file LM_Messenger.h.
G4UIdirectory* LM_Messenger::LMdir [private] |
Pointer to LM UI structure.
Definition at line 76 of file LM_Messenger.h.
LM_Messenger * LM_Messenger::m_pInstance = 0 [static, private] |
Data members of LM_Messenger class.
Instance of LM_Messenger class.
Definition at line 74 of file LM_Messenger.h.
LM_SD* LM_Messenger::pLM_SD [private] |
Pointer to LM_SD class.
Definition at line 78 of file LM_Messenger.h.