| 
            Last change
 on this file since 2995 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
           | 
        
      
      
| 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 | SkyTInitiator::SkyTInitiator()
 | 
|---|
| 17 |   : NToolsInitiator()
 | 
|---|
| 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.