Last change
on this file since 2735 was 2615, checked in by cmv, 21 years ago |
using namespace sophya enleve de machdefs.h, nouveau sopnamsp.h cmv 10/09/2004
|
File size:
792 bytes
|
Rev | Line | |
---|
[668] | 1 | // Classe d'initialisation du module Outils++
|
---|
| 2 | #include <unistd.h>
|
---|
| 3 |
|
---|
[2615] | 4 | #include "sopnamsp.h"
|
---|
[669] | 5 | #include "skyinit.h"
|
---|
[668] | 6 | #include "ppersist.h"
|
---|
| 7 | #include "objfio.h"
|
---|
| 8 | #include "specrespvector.h"
|
---|
[669] | 9 | #include "gaussfilt.h"
|
---|
[668] | 10 |
|
---|
[927] | 11 | /*! \class SOPHYA::SkyTInitiator
|
---|
| 12 | * \ingroup SkyT
|
---|
| 13 | */
|
---|
[668] | 14 | int SkyTInitiator::FgInit = 0;
|
---|
| 15 |
|
---|
| 16 | SkyTInitiator::SkyTInitiator()
|
---|
[759] | 17 | : NToolsInitiator()
|
---|
[668] | 18 | {
|
---|
| 19 | SkyTInitiator::FgInit++;
|
---|
| 20 | if (SkyTInitiator::FgInit > 1) return;
|
---|
| 21 |
|
---|
| 22 | // Enregistrement des classes PPersist du modules SkyT
|
---|
| 23 |
|
---|
| 24 | PPRegister(ObjFileIO<SpecRespVec>);
|
---|
| 25 | PPRegister(ObjFileIO<GaussianFilter>);
|
---|
| 26 |
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | SkyTInitiator::~SkyTInitiator()
|
---|
| 30 | {
|
---|
| 31 | SkyTInitiator::FgInit--;
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 36 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 37 | static SkyTInitiator s_skytinit_;
|
---|
| 38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.