source: Sophya/trunk/SophyaLib/Samba/sambainit.cc@ 2384

Last change on this file since 2384 was 1371, checked in by ansari, 25 years ago

MAJ documentation, Makefile, ... - Reza 5/1/2001

File size: 787 bytes
RevLine 
[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]17int SambaInitiator::FgInit = 0;
18
19SambaInitiator::SambaInitiator()
[758]20 : SkyMapInitiator()
[518]21{
22 SambaInitiator::FgInit++;
23 if (SambaInitiator::FgInit > 1) return;
[758]24 ntinit = new NToolsInitiator;
[518]25}
26
27SambaInitiator::~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
36static SambaInitiator s_sambainit_;
37
Note: See TracBrowser for help on using the repository browser.