| 
            Last change
 on this file since 1490 was             927, checked in by ansari, 26 years ago           | 
        
        
          | 
             
SOphie : Adding the ingroup SkyT in each .cc file for DoxyGen Doc 
 
           | 
        
        
          | 
            File size:
            770 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 | /*! \class SOPHYA::SkyTInitiator
 | 
|---|
| 11 |  *  \ingroup SkyT
 | 
|---|
| 12 |  */
 | 
|---|
| 13 | int SkyTInitiator::FgInit = 0;
 | 
|---|
| 14 | 
 | 
|---|
| 15 | SkyTInitiator::SkyTInitiator()
 | 
|---|
| 16 |   : NToolsInitiator()
 | 
|---|
| 17 | {
 | 
|---|
| 18 |   SkyTInitiator::FgInit++;
 | 
|---|
| 19 |   if (SkyTInitiator::FgInit > 1)  return;
 | 
|---|
| 20 | 
 | 
|---|
| 21 | //   Enregistrement des classes PPersist du modules SkyT
 | 
|---|
| 22 |   
 | 
|---|
| 23 |   PPRegister(ObjFileIO<SpecRespVec>);
 | 
|---|
| 24 |   PPRegister(ObjFileIO<GaussianFilter>);
 | 
|---|
| 25 | 
 | 
|---|
| 26 | }
 | 
|---|
| 27 | 
 | 
|---|
| 28 | SkyTInitiator::~SkyTInitiator()
 | 
|---|
| 29 | {
 | 
|---|
| 30 |   SkyTInitiator::FgInit--;
 | 
|---|
| 31 | }
 | 
|---|
| 32 | 
 | 
|---|
| 33 | 
 | 
|---|
| 34 | // On met un objet initiator en statique, pour les loaders qui savent 
 | 
|---|
| 35 | // appeler le constructeur des objets statiques   Reza 08/98
 | 
|---|
| 36 | static SkyTInitiator s_skytinit_;
 | 
|---|
| 37 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.