Last change
on this file since 3861 was 3022, checked in by ansari, 19 years ago |
Adaptation modification SophyaInitiator/ enregistrement SkyT - pret pour tag V2 Reza 17/7/2006
|
File size:
1.0 KB
|
Line | |
---|
1 | // Classe d'initialisation du module Outils++
|
---|
2 | #include <unistd.h>
|
---|
3 |
|
---|
4 | #include "sopnamsp.h"
|
---|
5 | #include "skyinit.h"
|
---|
6 | #include "ppersist.h"
|
---|
7 | #include "objfio.h"
|
---|
8 | #include "specrespvector.h"
|
---|
9 | #include "gaussfilt.h"
|
---|
10 |
|
---|
11 | /*! \class SOPHYA::SkyTInitiator
|
---|
12 | \ingroup SkyT
|
---|
13 | */
|
---|
14 | int SkyTInitiator::FgInit = 0;
|
---|
15 |
|
---|
16 | // Module version number
|
---|
17 | #define MOD_VERS 0.7
|
---|
18 |
|
---|
19 | SkyTInitiator::SkyTInitiator()
|
---|
20 | : NToolsInitiator()
|
---|
21 | {
|
---|
22 | SkyTInitiator::FgInit++;
|
---|
23 | if (SkyTInitiator::FgInit > 1) return;
|
---|
24 |
|
---|
25 | // Enregistrement des classes PPersist du modules SkyT
|
---|
26 |
|
---|
27 | PPRegister(ObjFileIO<SpecRespVec>);
|
---|
28 | DObjRegister(ObjFileIO<SpecRespVec>, SpecRespVec);
|
---|
29 | PPRegister(ObjFileIO<GaussianFilter>);
|
---|
30 | DObjRegister(ObjFileIO<GaussianFilter>, GaussianFilter);
|
---|
31 |
|
---|
32 | SophyaInitiator::RegisterModule("SkyT", MOD_VERS); // Module name and version number registration
|
---|
33 | }
|
---|
34 |
|
---|
35 | SkyTInitiator::~SkyTInitiator()
|
---|
36 | {
|
---|
37 | SkyTInitiator::FgInit--;
|
---|
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
|
---|
43 | static SkyTInitiator s_skytinit_;
|
---|
44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.