Changeset 758 in Sophya for trunk/SophyaLib/Samba/sambainit.cc


Ignore:
Timestamp:
Mar 2, 2000, 5:25:35 PM (26 years ago)
Author:
ansari
Message:

Restructuration de Sophya en petits modules (creation de SkyMap en particulier)

Reza 2/3/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/sambainit.cc

    r701 r758  
    1 // Classe d'initialisation du module Outils++
    2 #include <unistd.h>
     1// Classe d'initialisation du module Samba
    32
    43#include "sambainit.h"
    5 #include "ppersist.h"
    6 #include "objfio.h"
    7 #include "spherethetaphi.h"
    8 #include "spheregorski.h"
    9 #include "spherepos.h"
    104
    115int SambaInitiator::FgInit = 0;
    126
    137SambaInitiator::SambaInitiator()
    14   : PeidaOutilsInitiator()
     8  : SkyMapInitiator()
    159{
    1610  SambaInitiator::FgInit++;
    1711  if (SambaInitiator::FgInit > 1)  return;
    18 
    19 //   Enregistrement des classes PPersist du modules Outils++
    20  
    21   PPRegister(FIO_SphereCoordSys);
    22 
    23   PPRegister(FIO_SphereThetaPhi<float>);
    24   PPRegister(FIO_SphereThetaPhi<double>);
    25   PPRegister(FIO_SphereThetaPhi< complex<float> >);
    26   PPRegister(FIO_SphereThetaPhi< complex<double> >);
    27 
    28   PPRegister(FIO_SphereGorski<float>);
    29   PPRegister(FIO_SphereGorski<double>);
    30   PPRegister(FIO_SphereGorski< complex<float> >);
    31   PPRegister(FIO_SphereGorski< complex<double> >);
    32 
    33 
     12  ntinit = new NToolsInitiator;
    3413}
    3514
     
    3716{
    3817  SambaInitiator::FgInit--;
     18  if (FgInit < 1)  delete ntinit;
    3919}
    4020
Note: See TracChangeset for help on using the changeset viewer.