|
Last change
on this file since 2463 was 1371, checked in by ansari, 25 years ago |
|
MAJ documentation, Makefile, ... - Reza 5/1/2001
|
|
File size:
787 bytes
|
| Rev | Line | |
|---|
| [758] | 1 | // Classe d'initialisation du module Samba
|
|---|
| [518] | 2 |
|
|---|
| 3 | #include "sambainit.h"
|
|---|
| 4 |
|
|---|
| [1371] | 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 |
|
|---|
| [518] | 17 | int SambaInitiator::FgInit = 0;
|
|---|
| 18 |
|
|---|
| 19 | SambaInitiator::SambaInitiator()
|
|---|
| [758] | 20 | : SkyMapInitiator()
|
|---|
| [518] | 21 | {
|
|---|
| 22 | SambaInitiator::FgInit++;
|
|---|
| 23 | if (SambaInitiator::FgInit > 1) return;
|
|---|
| [758] | 24 | ntinit = new NToolsInitiator;
|
|---|
| [518] | 25 | }
|
|---|
| 26 |
|
|---|
| 27 | SambaInitiator::~SambaInitiator()
|
|---|
| 28 | {
|
|---|
| 29 | SambaInitiator::FgInit--;
|
|---|
| [758] | 30 | if (FgInit < 1) delete ntinit;
|
|---|
| [518] | 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.