Declare the Messenger class based on G4UImessenger. More...
#include <WC_Messenger.h>
Public Member Functions | |
G4String | GetCurrentValue (G4UIcommand *command) |
Routine to get current value (not used). | |
void | SetNewValue (G4UIcommand *command, G4String newValues) |
Routines to set new values and get current values. | |
void | setWC_SDptr (WC_SD *) |
Routine to set a pointer to the WC_SD class and define the user functions available. | |
Static Public Member Functions | |
static WC_Messenger * | Instance () |
Routine to return a pointer to the single instance of GT_Messenger. | |
Private Member Functions | |
WC_Messenger () | |
Constructor. | |
WC_Messenger (WC_Messenger const &) | |
Copy constructor. | |
WC_Messenger & | operator= (WC_Messenger const &) |
Assignment operator. | |
Private Attributes | |
WC_SD * | pWC_SD |
Pointer to WC_SD class. | |
G4UIdirectory * | WC_SDdir |
Pointer to WC_SD UI structure. | |
G4UIcmdWithoutParameter * | WC_SDgetThreshold |
Get threshold. | |
G4UIcmdWithoutParameter * | WC_SDgetXresol |
Get X resolution. | |
G4UIcmdWithoutParameter * | WC_SDgetYresol |
Get Y resolution. | |
G4UIcmdWithADoubleAndUnit * | WC_SDsetThreshold |
Set threshold. | |
G4UIcmdWithADoubleAndUnit * | WC_SDsetXresol |
Set X resolution. | |
G4UIcmdWithADoubleAndUnit * | WC_SDsetYresol |
Set Y resolution. | |
G4UIdirectory * | WCdir |
Pointer to WC UI structure. | |
Static Private Attributes | |
static WC_Messenger * | m_pInstance = 0 |
Data members of GT_Messenger class. |
Declare the Messenger class based on G4UImessenger.
Definition at line 35 of file WC_Messenger.h.
WC_Messenger::WC_Messenger | ( | ) | [private] |
Constructor.
Definition at line 49 of file WC_Messenger.cc.
WC_Messenger::WC_Messenger | ( | WC_Messenger const & | ) | [inline, private] |
Copy constructor.
Definition at line 64 of file WC_Messenger.h.
G4String WC_Messenger::GetCurrentValue | ( | G4UIcommand * | command ) |
Routine to get current value (not used).
Definition at line 151 of file WC_Messenger.cc.
WC_Messenger * WC_Messenger::Instance | ( | ) | [static] |
Routine to return a pointer to the single instance of GT_Messenger.
Definition at line 40 of file WC_Messenger.cc.
Referenced by WC_SD::WC_SD().
WC_Messenger& WC_Messenger::operator= | ( | WC_Messenger const & | ) | [private] |
Assignment operator.
void WC_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Routines to set new values and get current values.
Definition at line 112 of file WC_Messenger.cc.
void WC_Messenger::setWC_SDptr | ( | WC_SD * | ptr ) |
Routine to set a pointer to the WC_SD class and define the user functions available.
Definition at line 59 of file WC_Messenger.cc.
Referenced by WC_SD::WC_SD().
WC_Messenger * WC_Messenger::m_pInstance = 0 [static, private] |
Data members of GT_Messenger class.
Instance of WC_Messenger class.
Definition at line 74 of file WC_Messenger.h.
WC_SD* WC_Messenger::pWC_SD [private] |
Pointer to WC_SD class.
Definition at line 78 of file WC_Messenger.h.
G4UIdirectory* WC_Messenger::WC_SDdir [private] |
Pointer to WC_SD UI structure.
Definition at line 79 of file WC_Messenger.h.
G4UIcmdWithoutParameter* WC_Messenger::WC_SDgetThreshold [private] |
Get threshold.
Definition at line 82 of file WC_Messenger.h.
G4UIcmdWithoutParameter* WC_Messenger::WC_SDgetXresol [private] |
Get X resolution.
Definition at line 84 of file WC_Messenger.h.
G4UIcmdWithoutParameter* WC_Messenger::WC_SDgetYresol [private] |
Get Y resolution.
Definition at line 86 of file WC_Messenger.h.
G4UIcmdWithADoubleAndUnit* WC_Messenger::WC_SDsetThreshold [private] |
Set threshold.
Definition at line 81 of file WC_Messenger.h.
G4UIcmdWithADoubleAndUnit* WC_Messenger::WC_SDsetXresol [private] |
Set X resolution.
Definition at line 83 of file WC_Messenger.h.
G4UIcmdWithADoubleAndUnit* WC_Messenger::WC_SDsetYresol [private] |
Set Y resolution.
Definition at line 85 of file WC_Messenger.h.
G4UIdirectory* WC_Messenger::WCdir [private] |
Pointer to WC UI structure.
Definition at line 76 of file WC_Messenger.h.