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

Last change on this file since 4024 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
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
[3863]20// Module version number - 1.3
21// Aout 2010 : V=1.4 (introduction de la nouvelle classe LowerTriangularMatrix)
22#define MOD_VERS 1.4
[3021]23
[518]24SambaInitiator::SambaInitiator()
[758]25 : SkyMapInitiator()
[518]26{
27 SambaInitiator::FgInit++;
28 if (SambaInitiator::FgInit > 1) return;
[758]29 ntinit = new NToolsInitiator;
[3021]30
31 SophyaInitiator::RegisterModule("Samba", MOD_VERS); // Module name and version number registration
[518]32}
33
34SambaInitiator::~SambaInitiator()
35{
36 SambaInitiator::FgInit--;
[758]37 if (FgInit < 1) delete ntinit;
[518]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
43static SambaInitiator s_sambainit_;
44
Note: See TracBrowser for help on using the repository browser.