| 
            Last change
 on this file since 3444 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
           | 
        
      
      
| 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 | 
 | 
|---|
| 18 | int SambaInitiator::FgInit = 0;
 | 
|---|
| 19 | 
 | 
|---|
| 20 | // Module version number - 
 | 
|---|
| 21 | #define MOD_VERS   1.3
 | 
|---|
| 22 | 
 | 
|---|
| 23 | SambaInitiator::SambaInitiator()
 | 
|---|
| 24 |   : SkyMapInitiator()
 | 
|---|
| 25 | {
 | 
|---|
| 26 |   SambaInitiator::FgInit++;
 | 
|---|
| 27 |   if (SambaInitiator::FgInit > 1)  return;
 | 
|---|
| 28 |   ntinit = new NToolsInitiator;
 | 
|---|
| 29 | 
 | 
|---|
| 30 |   SophyaInitiator::RegisterModule("Samba", MOD_VERS);  // Module name and version number registration
 | 
|---|
| 31 | }
 | 
|---|
| 32 | 
 | 
|---|
| 33 | SambaInitiator::~SambaInitiator()
 | 
|---|
| 34 | {
 | 
|---|
| 35 |   SambaInitiator::FgInit--;
 | 
|---|
| 36 |   if (FgInit < 1)  delete ntinit;
 | 
|---|
| 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.