Last change
on this file since 3754 was 3021, checked in by ansari, 19 years ago |
Adaptation modification SophyaInitiator/ enregistrement Samba - pret pour tag V2 Reza 17/7/2006
|
File size:
964 bytes
|
Rev | Line | |
---|
[758] | 1 | // Classe d'initialisation du module Samba
|
---|
[518] | 2 |
|
---|
[2615] | 3 | #include "sopnamsp.h"
|
---|
[518] | 4 | #include "sambainit.h"
|
---|
| 5 |
|
---|
[1371] | 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 |
|
---|
[518] | 18 | int SambaInitiator::FgInit = 0;
|
---|
| 19 |
|
---|
[3021] | 20 | // Module version number -
|
---|
| 21 | #define MOD_VERS 1.3
|
---|
| 22 |
|
---|
[518] | 23 | SambaInitiator::SambaInitiator()
|
---|
[758] | 24 | : SkyMapInitiator()
|
---|
[518] | 25 | {
|
---|
| 26 | SambaInitiator::FgInit++;
|
---|
| 27 | if (SambaInitiator::FgInit > 1) return;
|
---|
[758] | 28 | ntinit = new NToolsInitiator;
|
---|
[3021] | 29 |
|
---|
| 30 | SophyaInitiator::RegisterModule("Samba", MOD_VERS); // Module name and version number registration
|
---|
[518] | 31 | }
|
---|
| 32 |
|
---|
| 33 | SambaInitiator::~SambaInitiator()
|
---|
| 34 | {
|
---|
| 35 | SambaInitiator::FgInit--;
|
---|
[758] | 36 | if (FgInit < 1) delete ntinit;
|
---|
[518] | 37 | }
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 41 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 42 | static SambaInitiator s_sambainit_;
|
---|
| 43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.