Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

DET_Messenger Class Reference

Declare the Messenger class based on G4UImessenger. More...

#include <DET_Messenger.h>

Inheritance diagram for DET_Messenger:
Inheritance graph
[legend]
Collaboration diagram for DET_Messenger:
Collaboration graph
[legend]

List of all members.

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_MessengerInstance ()
 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_Messengeroperator= (DET_Messenger const &)
 Assignment operator.

Private Attributes

G4UIdirectory * DETdir
 Pointer to DET UI structure.
G4UIdirectory * OLYMPUSdir
 Pointer to OLYMPUS UI structure.
DetectorpDET
 Pointer to Detector class.

Static Private Attributes

static DET_Messengerm_pInstance = 0
 Data members of DET_Messenger class.

Detailed Description

Declare the Messenger class based on G4UImessenger.

Definition at line 33 of file DET_Messenger.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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.


Member Data Documentation

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.

Pointer to Detector class.

Definition at line 78 of file DET_Messenger.h.


The documentation for this class was generated from the following files: