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

Last change on this file since 2634 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
RevLine 
[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]18int SambaInitiator::FgInit = 0;
19
20SambaInitiator::SambaInitiator()
[758]21 : SkyMapInitiator()
[518]22{
23 SambaInitiator::FgInit++;
24 if (SambaInitiator::FgInit > 1) return;
[758]25 ntinit = new NToolsInitiator;
[518]26}
27
28SambaInitiator::~SambaInitiator()
29{
30 SambaInitiator::FgInit--;
[758]31 if (FgInit < 1) delete ntinit;
[518]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.