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

GT_Messenger Class Reference

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

#include <GT_Messenger.h>

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

List of all members.

Public Member Functions

G4String GetCurrentValue (G4UIcommand *command)
 Routine to get current value (not used).
void setGT_SDptr (GT_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 GT_MessengerInstance ()
 Routine to return a pointer to the single instance of GT_Messenger.

Private Member Functions

 GT_Messenger ()
 These routines are kept private to preserve singleton class.
 GT_Messenger (GT_Messenger const &)
 Copy constructor.
GT_Messengeroperator= (GT_Messenger const &)
 Assignment operator.

Private Attributes

G4UIdirectory * GT_SDdir
 Pointer to GT_SD UI structure.
G4UIcmdWithoutParameter * GT_SDgetThreshold
 Get threshold.
G4UIcmdWithoutParameter * GT_SDgetXresol
 Get X resolution.
G4UIcmdWithoutParameter * GT_SDgetYresol
 Get Y resolution.
G4UIcmdWithADoubleAndUnit * GT_SDsetThreshold
 Set threshold.
G4UIcmdWithADoubleAndUnit * GT_SDsetXresol
 Set X resolution.
G4UIcmdWithADoubleAndUnit * GT_SDsetYresol
 Set Y resolution.
G4UIdirectory * GTdir
 Pointer to GT UI structure.
GT_SDpGT_SD
 Pointer to GT_SD class.

Static Private Attributes

static GT_Messengerm_pInstance = 0
 Data members of GT_Messenger class.

Detailed Description

Declare the Messenger class based on G4UImessenger.

Definition at line 35 of file GT_Messenger.h.


Constructor & Destructor Documentation

GT_Messenger::GT_Messenger (  ) [private]

These routines are kept private to preserve singleton class.

Constructor.

Definition at line 48 of file GT_Messenger.cc.

GT_Messenger::GT_Messenger ( GT_Messenger const &   ) [inline, private]

Copy constructor.

Definition at line 66 of file GT_Messenger.h.


Member Function Documentation

G4String GT_Messenger::GetCurrentValue ( G4UIcommand *  command )

Routine to get current value (not used).

Definition at line 150 of file GT_Messenger.cc.

GT_Messenger * GT_Messenger::Instance (  ) [static]

Routine to return a pointer to the single instance of GT_Messenger.

Definition at line 39 of file GT_Messenger.cc.

Referenced by GT_SD::GT_SD().

Here is the caller graph for this function:

GT_Messenger& GT_Messenger::operator= ( GT_Messenger const &   ) [private]

Assignment operator.

void GT_Messenger::setGT_SDptr ( GT_SD ptr )

Routine to set a pointer to the GT_SD class and define the user functions available.

Definition at line 58 of file GT_Messenger.cc.

Referenced by GT_SD::GT_SD().

Here is the caller graph for this function:

void GT_Messenger::SetNewValue ( G4UIcommand *  command,
G4String  newValues 
)

Routines to set new values and get current values.

Definition at line 111 of file GT_Messenger.cc.


Member Data Documentation

G4UIdirectory* GT_Messenger::GT_SDdir [private]

Pointer to GT_SD UI structure.

Definition at line 81 of file GT_Messenger.h.

G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetThreshold [private]

Get threshold.

Definition at line 84 of file GT_Messenger.h.

G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetXresol [private]

Get X resolution.

Definition at line 86 of file GT_Messenger.h.

G4UIcmdWithoutParameter* GT_Messenger::GT_SDgetYresol [private]

Get Y resolution.

Definition at line 88 of file GT_Messenger.h.

G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetThreshold [private]

Set threshold.

Definition at line 83 of file GT_Messenger.h.

G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetXresol [private]

Set X resolution.

Definition at line 85 of file GT_Messenger.h.

G4UIcmdWithADoubleAndUnit* GT_Messenger::GT_SDsetYresol [private]

Set Y resolution.

Definition at line 87 of file GT_Messenger.h.

G4UIdirectory* GT_Messenger::GTdir [private]

Pointer to GT UI structure.

Definition at line 78 of file GT_Messenger.h.

GT_Messenger * GT_Messenger::m_pInstance = 0 [static, private]

Data members of GT_Messenger class.

Instance of GT_Messenger class.

Definition at line 76 of file GT_Messenger.h.

Pointer to GT_SD class.

Definition at line 80 of file GT_Messenger.h.


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