Last change
on this file since 828 was 764, checked in by ansari, 26 years ago |
Reorganisation - Creation du module SkyMap (Loacl/Spherical maps ...) - Reza 2/3/2000
|
File size:
1.2 KB
|
Rev | Line | |
---|
[764] | 1 | // Classe d'initialisation du module Outils++
|
---|
| 2 | #include <unistd.h>
|
---|
| 3 |
|
---|
| 4 | #include "skymapinit.h"
|
---|
| 5 | #include "spherethetaphi.h"
|
---|
| 6 | #include "spheregorski.h"
|
---|
| 7 | #include "localmap.h"
|
---|
| 8 |
|
---|
| 9 | int SkyMapInitiator::FgInit = 0;
|
---|
| 10 |
|
---|
| 11 | SkyMapInitiator::SkyMapInitiator()
|
---|
| 12 | : TArrayInitiator()
|
---|
| 13 | {
|
---|
| 14 | SkyMapInitiator::FgInit++;
|
---|
| 15 | if (SkyMapInitiator::FgInit > 1) return;
|
---|
| 16 |
|
---|
| 17 | // Enregistrement des classes PPersist du modules Outils++
|
---|
| 18 |
|
---|
| 19 | PPRegister(FIO_SphereCoordSys);
|
---|
| 20 |
|
---|
| 21 | PPRegister(FIO_SphereThetaPhi<r_4>);
|
---|
| 22 | PPRegister(FIO_SphereThetaPhi<r_8>);
|
---|
| 23 | PPRegister(FIO_SphereThetaPhi< complex<r_4> >);
|
---|
| 24 | PPRegister(FIO_SphereThetaPhi< complex<r_8> >);
|
---|
| 25 |
|
---|
| 26 | PPRegister(FIO_SphereGorski<r_4>);
|
---|
| 27 | PPRegister(FIO_SphereGorski<r_8>);
|
---|
| 28 | PPRegister(FIO_SphereGorski< complex<r_4> >);
|
---|
| 29 | PPRegister(FIO_SphereGorski< complex<r_8> >);
|
---|
| 30 |
|
---|
| 31 | PPRegister(FIO_LocalMap<r_4>);
|
---|
| 32 | PPRegister(FIO_LocalMap<r_8>);
|
---|
| 33 | PPRegister(FIO_LocalMap< complex<r_4> >);
|
---|
| 34 | PPRegister(FIO_LocalMap< complex<r_8> >);
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | SkyMapInitiator::~SkyMapInitiator()
|
---|
| 40 | {
|
---|
| 41 | SkyMapInitiator::FgInit--;
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 46 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 47 | static SkyMapInitiator s_sskymapinit_;
|
---|
| 48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.