Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunInitManager Class Reference

#include <RunInitObserver.hh>

Collaboration diagram for RunInitManager:

Public Member Functions

void Initialize ()
 
void Initialize ()
 
void Initialize ()
 

Static Public Member Functions

static RunInitManagerInstance ()
 
static RunInitManagerInstance ()
 
static RunInitManagerInstance ()
 

Protected Member Functions

 RunInitManager ()
 
 ~RunInitManager ()
 
void Insert (RunInitObserver *)
 
 RunInitManager ()
 
 ~RunInitManager ()
 
void Insert (RunInitObserver *)
 
 RunInitManager ()
 
 ~RunInitManager ()
 
void Insert (RunInitObserver *)
 

Protected Attributes

std::vector< RunInitObserver * > fObservers
 

Static Protected Attributes

static G4ThreadLocal
RunInitManager
fgInstance
 

Friends

class RunInitObserver
 

Detailed Description

Definition at line 57 of file RunInitObserver.hh.

Constructor & Destructor Documentation

RunInitManager::RunInitManager ( )
protected

Definition at line 43 of file RunInitObserver.cc.

44 {
45  fgInstance = this;
46 }
static G4ThreadLocal RunInitManager * fgInstance

Here is the caller graph for this function:

RunInitManager::~RunInitManager ( )
protected

Definition at line 50 of file RunInitObserver.cc.

51 {
52 }
RunInitManager::RunInitManager ( )
protected
RunInitManager::~RunInitManager ( )
protected
RunInitManager::RunInitManager ( )
protected
RunInitManager::~RunInitManager ( )
protected

Member Function Documentation

void RunInitManager::Initialize ( )

Definition at line 79 of file RunInitObserver.cc.

80 {
81  std::vector<RunInitObserver*>::iterator it = fObservers.begin();
82  std::vector<RunInitObserver*>::iterator end = fObservers.end();
83  for(; it != end ; it++) (*it)->Initialize();
84 }
std::vector< RunInitObserver * > fObservers
void RunInitManager::Initialize ( )
void RunInitManager::Initialize ( )
void RunInitManager::Insert ( RunInitObserver observer)
protected

Definition at line 89 of file RunInitObserver.cc.

90 {
91  fObservers.push_back(observer);
92 }
std::vector< RunInitObserver * > fObservers

Here is the caller graph for this function:

void RunInitManager::Insert ( RunInitObserver )
protected
void RunInitManager::Insert ( RunInitObserver )
protected
RunInitManager * RunInitManager::Instance ( void  )
static

Definition at line 70 of file RunInitObserver.cc.

71 {
72  if(fgInstance == 0) new RunInitManager();
73  return fgInstance;
74 }
static G4ThreadLocal RunInitManager * fgInstance

Here is the call graph for this function:

Here is the caller graph for this function:

static RunInitManager* RunInitManager::Instance ( )
static
static RunInitManager* RunInitManager::Instance ( )
static

Friends And Related Function Documentation

Definition at line 64 of file RunInitObserver.hh.

Member Data Documentation

G4ThreadLocal RunInitManager * RunInitManager::fgInstance
staticprotected

Definition at line 70 of file RunInitObserver.hh.

std::vector< RunInitObserver * > RunInitManager::fObservers
protected

Definition at line 69 of file RunInitObserver.hh.


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