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

Last change on this file since 3007 was 2615, checked in by cmv, 21 years ago

using namespace sophya enleve de machdefs.h, nouveau sopnamsp.h cmv 10/09/2004

File size: 809 bytes
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
18int SambaInitiator::FgInit = 0;
19
20SambaInitiator::SambaInitiator()
21 : SkyMapInitiator()
22{
23 SambaInitiator::FgInit++;
24 if (SambaInitiator::FgInit > 1) return;
25 ntinit = new NToolsInitiator;
26}
27
28SambaInitiator::~SambaInitiator()
29{
30 SambaInitiator::FgInit--;
31 if (FgInit < 1) delete ntinit;
32}
33
34
35// On met un objet initiator en statique, pour les loaders qui savent
36// appeler le constructeur des objets statiques Reza 08/98
37static SambaInitiator s_sambainit_;
38
Note: See TracBrowser for help on using the repository browser.