Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CApplicationRegistry Class Reference

#include <CApplicationRegistry.h>

List of all members.

Public Member Functions

 CApplicationRegistry ()
 CApplicationRegistry (const CApplicationRegistry &rhs)
 ~CApplicationRegistry ()
CApplicationRegistryoperator= (const CApplicationRegistry &rhs)
int operator== (const CApplicationRegistry &rhs)

Static Public Member Functions

CClassifiedObjectRegistrygetInstance ()

Static Protected Member Functions

void setInstance (CClassifiedObjectRegistry *p)
 Set a new value for the instance (should not be done).

Static Private Attributes

CClassifiedObjectRegistrym_pInstance


Detailed Description

Encapsulates a singleton CClassifiedObjectRegistry which contains the names of all objects registered by the application.

Definition at line 301 of file CApplicationRegistry.h.


Constructor & Destructor Documentation

CApplicationRegistry::CApplicationRegistry  ) 
 

Construct the application registry. Normally this does not need to be used, just call CApplicationRegistry::getInstance().

Definition at line 306 of file CApplicationRegistry.cpp.

References getInstance().

CApplicationRegistry::CApplicationRegistry const CApplicationRegistry rhs  ) 
 

Copy construction:

Definition at line 311 of file CApplicationRegistry.cpp.

References getInstance().

CApplicationRegistry::~CApplicationRegistry  )  [inline]
 

Definition at line 311 of file CApplicationRegistry.h.


Member Function Documentation

CClassifiedObjectRegistry * CApplicationRegistry::getInstance  )  [static]
 

Get the singleton instance of the application registry:

Definition at line 338 of file CApplicationRegistry.cpp.

References m_pInstance.

Referenced by CApplicationRegistry(), operator=(), and CReactor::~CReactor().

CApplicationRegistry & CApplicationRegistry::operator= const CApplicationRegistry rhs  ) 
 

Assignment:

Definition at line 319 of file CApplicationRegistry.cpp.

References getInstance(), and m_pInstance.

int CApplicationRegistry::operator== const CApplicationRegistry rhs  ) 
 

Equality compare: All application registries are equal.

Definition at line 329 of file CApplicationRegistry.cpp.

void CApplicationRegistry::setInstance CClassifiedObjectRegistry p  )  [inline, static, protected]
 

Set a new value for the instance (should not be done).

Definition at line 322 of file CApplicationRegistry.h.


Member Data Documentation

CClassifiedObjectRegistry * CApplicationRegistry::m_pInstance [static, private]
 

Referenced by getInstance(), and operator=().


The documentation for this class was generated from the following files:
Generated on Thu Jan 6 16:58:43 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1