| 
            Last change
 on this file since 3175 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
           | 
        
      
      
| 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
 | 
|---|
| [3022] | 12 |    \ingroup SkyT
 | 
|---|
 | 13 | */
 | 
|---|
| [668] | 14 | int SkyTInitiator::FgInit = 0;
 | 
|---|
 | 15 | 
 | 
|---|
| [3022] | 16 | // Module version number 
 | 
|---|
 | 17 | #define MOD_VERS  0.7 
 | 
|---|
 | 18 | 
 | 
|---|
| [668] | 19 | SkyTInitiator::SkyTInitiator()
 | 
|---|
| [759] | 20 |   : NToolsInitiator()
 | 
|---|
| [668] | 21 | {
 | 
|---|
 | 22 |   SkyTInitiator::FgInit++;
 | 
|---|
 | 23 |   if (SkyTInitiator::FgInit > 1)  return;
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 | //   Enregistrement des classes PPersist du modules SkyT
 | 
|---|
 | 26 |   
 | 
|---|
 | 27 |   PPRegister(ObjFileIO<SpecRespVec>);
 | 
|---|
| [3022] | 28 |   DObjRegister(ObjFileIO<SpecRespVec>, SpecRespVec);
 | 
|---|
| [668] | 29 |   PPRegister(ObjFileIO<GaussianFilter>);
 | 
|---|
| [3022] | 30 |   DObjRegister(ObjFileIO<GaussianFilter>, GaussianFilter);
 | 
|---|
| [668] | 31 | 
 | 
|---|
| [3022] | 32 |   SophyaInitiator::RegisterModule("SkyT", MOD_VERS);  // Module name and version number registration
 | 
|---|
| [668] | 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.