Declare the Messenger class based on G4UImessenger. More...
#include <DET_Messenger.h>
Public Member Functions | |
G4String | GetCurrentValue (G4UIcommand *command) |
Routine to get current value (not used). | |
void | setDETptr (Detector *det) |
Routine to set a pointer to the DET_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 DET_Messenger * | Instance () |
Routine to return a pointer to the single instance of DET_Messenger. | |
Private Member Functions | |
DET_Messenger () | |
These routines are kept private to preserve singleton class. | |
DET_Messenger (DET_Messenger const &) | |
Copy constructor. | |
DET_Messenger & | operator= (DET_Messenger const &) |
Assignment operator. | |
Private Attributes | |
G4UIdirectory * | DETdir |
Pointer to DET UI structure. | |
G4UIdirectory * | OLYMPUSdir |
Pointer to OLYMPUS UI structure. | |
Detector * | pDET |
Pointer to Detector class. | |
Static Private Attributes | |
static DET_Messenger * | m_pInstance = 0 |
Data members of DET_Messenger class. |
Declare the Messenger class based on G4UImessenger.
Definition at line 33 of file DET_Messenger.h.
DET_Messenger::DET_Messenger | ( | ) | [private] |
These routines are kept private to preserve singleton class.
Constructor.
Definition at line 46 of file DET_Messenger.cc.
DET_Messenger::DET_Messenger | ( | DET_Messenger const & | ) | [inline, private] |
Copy constructor.
Definition at line 64 of file DET_Messenger.h.
G4String DET_Messenger::GetCurrentValue | ( | G4UIcommand * | command ) |
Routine to get current value (not used).
Definition at line 72 of file DET_Messenger.cc.
DET_Messenger * DET_Messenger::Instance | ( | ) | [static] |
Routine to return a pointer to the single instance of DET_Messenger.
Definition at line 37 of file DET_Messenger.cc.
Referenced by Detector::Detector().
DET_Messenger& DET_Messenger::operator= | ( | DET_Messenger const & | ) | [private] |
Assignment operator.
void DET_Messenger::setDETptr | ( | Detector * | det ) |
Routine to set a pointer to the DET_SD class and define the user functions available.
Definition at line 57 of file DET_Messenger.cc.
Referenced by Detector::Detector().
void DET_Messenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValues | ||
) |
Routines to set new values and get current values.
Definition at line 68 of file DET_Messenger.cc.
G4UIdirectory* DET_Messenger::DETdir [private] |
Pointer to DET UI structure.
Definition at line 79 of file DET_Messenger.h.
DET_Messenger * DET_Messenger::m_pInstance = 0 [static, private] |
Data members of DET_Messenger class.
Instance of DET_Messenger class.
Definition at line 74 of file DET_Messenger.h.
G4UIdirectory* DET_Messenger::OLYMPUSdir [private] |
Pointer to OLYMPUS UI structure.
Definition at line 76 of file DET_Messenger.h.
Detector* DET_Messenger::pDET [private] |
Pointer to Detector class.
Definition at line 78 of file DET_Messenger.h.