Last change
on this file since 669 was 669, checked in by ansari, 26 years ago |
Adaptation a PPersist de SpectralResponse - Suite 1 , Sophie 29/11/99
|
File size:
720 bytes
|
Line | |
---|
1 | // Classe d'initialisation du module Outils++
|
---|
2 | #include <unistd.h>
|
---|
3 |
|
---|
4 | #include "skyinit.h"
|
---|
5 | #include "ppersist.h"
|
---|
6 | #include "objfio.h"
|
---|
7 | #include "specrespvector.h"
|
---|
8 | #include "gaussfilt.h"
|
---|
9 |
|
---|
10 | int SkyTInitiator::FgInit = 0;
|
---|
11 |
|
---|
12 | SkyTInitiator::SkyTInitiator()
|
---|
13 | : PeidaOutilsInitiator()
|
---|
14 | {
|
---|
15 | SkyTInitiator::FgInit++;
|
---|
16 | if (SkyTInitiator::FgInit > 1) return;
|
---|
17 |
|
---|
18 | // Enregistrement des classes PPersist du modules SkyT
|
---|
19 |
|
---|
20 | PPRegister(ObjFileIO<SpecRespVec>);
|
---|
21 | PPRegister(ObjFileIO<GaussianFilter>);
|
---|
22 |
|
---|
23 | }
|
---|
24 |
|
---|
25 | SkyTInitiator::~SkyTInitiator()
|
---|
26 | {
|
---|
27 | SkyTInitiator::FgInit--;
|
---|
28 | }
|
---|
29 |
|
---|
30 |
|
---|
31 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
32 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
33 | static SkyTInitiator s_skytinit_;
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.