|
Last change
on this file since 1939 was 1371, checked in by ansari, 25 years ago |
|
MAJ documentation, Makefile, ... - Reza 5/1/2001
|
|
File size:
787 bytes
|
| Line | |
|---|
| 1 | // Classe d'initialisation du module Samba
|
|---|
| 2 |
|
|---|
| 3 | #include "sambainit.h"
|
|---|
| 4 |
|
|---|
| 5 | /*!
|
|---|
| 6 | \defgroup Samba Samba module
|
|---|
| 7 | This module contains various classes for CMB analysis, such as
|
|---|
| 8 | spherical harmonic decomposition and synthesis
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | /*!
|
|---|
| 12 | \class SOPHYA::SambaInitiator
|
|---|
| 13 | \ingroup Samba
|
|---|
| 14 | Array Matrices and Vector initiator
|
|---|
| 15 | */
|
|---|
| 16 |
|
|---|
| 17 | int SambaInitiator::FgInit = 0;
|
|---|
| 18 |
|
|---|
| 19 | SambaInitiator::SambaInitiator()
|
|---|
| 20 | : SkyMapInitiator()
|
|---|
| 21 | {
|
|---|
| 22 | SambaInitiator::FgInit++;
|
|---|
| 23 | if (SambaInitiator::FgInit > 1) return;
|
|---|
| 24 | ntinit = new NToolsInitiator;
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | SambaInitiator::~SambaInitiator()
|
|---|
| 28 | {
|
|---|
| 29 | SambaInitiator::FgInit--;
|
|---|
| 30 | if (FgInit < 1) delete ntinit;
|
|---|
| 31 | }
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | // On met un objet initiator en statique, pour les loaders qui savent
|
|---|
| 35 | // appeler le constructeur des objets statiques Reza 08/98
|
|---|
| 36 | static SambaInitiator s_sambainit_;
|
|---|
| 37 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.