Declare the Messenger class based on G4UImessenger. More...
#include <TF_Messenger.h>
Public Member Functions | |
G4String | GetCurrentValue (G4UIcommand *command) |
Get current value. | |
void | SetNewValue (G4UIcommand *command, G4String newValues) |
Set new value. | |
void | setTF_SDptr (TF_SD *) |
Static Public Member Functions | |
static TF_Messenger * | Instance () |
Private Member Functions | |
TF_Messenger () | |
These routines are kept private to preserve singleton class. | |
TF_Messenger (TF_Messenger const &) | |
Copy constructor. | |
TF_Messenger & | operator= (TF_Messenger const &) |
Assignment operator. | |
Private Attributes | |
TF_SD * | pTF_SD |
Pointer to TF_SD class. | |
G4UIdirectory * | TF_SDdir |
Pointer to TF_SD UI structure. | |
G4UIcmdWithoutParameter * | TF_SDgetThreshold |
Get threshold. | |
G4UIcmdWithoutParameter * | TF_SDgetTresol |
Get T resolution. | |
G4UIcmdWithoutParameter * | TF_SDgetYresol |
Get Y resolution. | |
G4UIcmdWithADoubleAndUnit * | TF_SDsetThreshold |
Set threshold. | |
G4UIcmdWithADoubleAndUnit * | TF_SDsetTresol |
Set T resolution. | |
G4UIcmdWithADoubleAndUnit * | TF_SDsetYresol |
Set Y resolution. | |
G4UIdirectory * | TFdir |
Pointer to TF UI structure. | |
Static Private Attributes | |
static TF_Messenger * | m_pInstance = 0 |
Data members of TF_Messenger class. |
Declare the Messenger class based on G4UImessenger.
Definition at line 37 of file TF_Messenger.h.
TF_Messenger::TF_Messenger | ( | ) | [private] |
These routines are kept private to preserve singleton class.
Constructor.
Definition at line 44 of file TF_Messenger.cc.
TF_Messenger::TF_Messenger | ( | TF_Messenger const & | ) | [inline, private] |
Copy constructor.
Definition at line 63 of file TF_Messenger.h.
G4String TF_Messenger::GetCurrentValue | ( | G4UIcommand * | command ) |
Get current value.
Definition at line 143 of file TF_Messenger.cc.
TF_Messenger * TF_Messenger::Instance | ( | ) | [static] |
Definition at line 37 of file TF_Messenger.cc.
Referenced by TF_SD::TF_SD().
TF_Messenger& TF_Messenger::operator= | ( | TF_Messenger const & | ) | [private] |
Assignment operator.
void TF_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Set new value.
Definition at line 104 of file TF_Messenger.cc.
void TF_Messenger::setTF_SDptr | ( | TF_SD * | ptr ) |
Definition at line 51 of file TF_Messenger.cc.
Referenced by TF_SD::TF_SD().
TF_Messenger * TF_Messenger::m_pInstance = 0 [static, private] |
Data members of TF_Messenger class.
Definition at line 73 of file TF_Messenger.h.
TF_SD* TF_Messenger::pTF_SD [private] |
Pointer to TF_SD class.
Definition at line 77 of file TF_Messenger.h.
G4UIdirectory* TF_Messenger::TF_SDdir [private] |
Pointer to TF_SD UI structure.
Definition at line 78 of file TF_Messenger.h.
G4UIcmdWithoutParameter* TF_Messenger::TF_SDgetThreshold [private] |
Get threshold.
Definition at line 81 of file TF_Messenger.h.
G4UIcmdWithoutParameter* TF_Messenger::TF_SDgetTresol [private] |
Get T resolution.
Definition at line 83 of file TF_Messenger.h.
G4UIcmdWithoutParameter* TF_Messenger::TF_SDgetYresol [private] |
Get Y resolution.
Definition at line 85 of file TF_Messenger.h.
G4UIcmdWithADoubleAndUnit* TF_Messenger::TF_SDsetThreshold [private] |
Set threshold.
Definition at line 80 of file TF_Messenger.h.
G4UIcmdWithADoubleAndUnit* TF_Messenger::TF_SDsetTresol [private] |
Set T resolution.
Definition at line 82 of file TF_Messenger.h.
G4UIcmdWithADoubleAndUnit* TF_Messenger::TF_SDsetYresol [private] |
Set Y resolution.
Definition at line 84 of file TF_Messenger.h.
G4UIdirectory* TF_Messenger::TFdir [private] |
Pointer to TF UI structure.
Definition at line 75 of file TF_Messenger.h.