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

LM_Messenger Class Reference

Declare the Messenger class. More...

#include <LM_Messenger.h>

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

List of all members.

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_MessengerInstance ()
 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_Messengeroperator= (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_SDpLM_SD
 Pointer to LM_SD class.

Static Private Attributes

static LM_Messengerm_pInstance = 0
 Data members of LM_Messenger class.

Detailed Description

Declare the Messenger class.

Definition at line 35 of file LM_Messenger.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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.


Member Data Documentation

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.

Pointer to LM_SD class.

Definition at line 78 of file LM_Messenger.h.


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