|
Last change
on this file since 3974 was 3863, checked in by ansari, 15 years ago |
|
MAJ numero de version V=1.4 pour module Samba, Reza 12/08/2010
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | // Classe d'initialisation du module Samba
|
|---|
| 2 |
|
|---|
| 3 | #include "sopnamsp.h"
|
|---|
| 4 | #include "sambainit.h"
|
|---|
| 5 |
|
|---|
| 6 | /*!
|
|---|
| 7 | \defgroup Samba Samba module
|
|---|
| 8 | This module contains various classes for CMB analysis, such as
|
|---|
| 9 | spherical harmonic decomposition and synthesis
|
|---|
| 10 | */
|
|---|
| 11 |
|
|---|
| 12 | /*!
|
|---|
| 13 | \class SOPHYA::SambaInitiator
|
|---|
| 14 | \ingroup Samba
|
|---|
| 15 | Array Matrices and Vector initiator
|
|---|
| 16 | */
|
|---|
| 17 |
|
|---|
| 18 | int SambaInitiator::FgInit = 0;
|
|---|
| 19 |
|
|---|
| 20 | // Module version number - 1.3
|
|---|
| 21 | // Aout 2010 : V=1.4 (introduction de la nouvelle classe LowerTriangularMatrix)
|
|---|
| 22 | #define MOD_VERS 1.4
|
|---|
| 23 |
|
|---|
| 24 | SambaInitiator::SambaInitiator()
|
|---|
| 25 | : SkyMapInitiator()
|
|---|
| 26 | {
|
|---|
| 27 | SambaInitiator::FgInit++;
|
|---|
| 28 | if (SambaInitiator::FgInit > 1) return;
|
|---|
| 29 | ntinit = new NToolsInitiator;
|
|---|
| 30 |
|
|---|
| 31 | SophyaInitiator::RegisterModule("Samba", MOD_VERS); // Module name and version number registration
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | SambaInitiator::~SambaInitiator()
|
|---|
| 35 | {
|
|---|
| 36 | SambaInitiator::FgInit--;
|
|---|
| 37 | if (FgInit < 1) delete ntinit;
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | // On met un objet initiator en statique, pour les loaders qui savent
|
|---|
| 42 | // appeler le constructeur des objets statiques Reza 08/98
|
|---|
| 43 | static SambaInitiator s_sambainit_;
|
|---|
| 44 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.