Last change
on this file since 759 was 759, checked in by ansari, 26 years ago |
Restructuration - Creation module PMixer pour programmes executables du mixer
Reza 2/3/2000
|
File size:
715 bytes
|
Rev | Line | |
---|
[668] | 1 | // Classe d'initialisation du module Outils++
|
---|
| 2 | #include <unistd.h>
|
---|
| 3 |
|
---|
[669] | 4 | #include "skyinit.h"
|
---|
[668] | 5 | #include "ppersist.h"
|
---|
| 6 | #include "objfio.h"
|
---|
| 7 | #include "specrespvector.h"
|
---|
[669] | 8 | #include "gaussfilt.h"
|
---|
[668] | 9 |
|
---|
| 10 | int SkyTInitiator::FgInit = 0;
|
---|
| 11 |
|
---|
| 12 | SkyTInitiator::SkyTInitiator()
|
---|
[759] | 13 | : NToolsInitiator()
|
---|
[668] | 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.