| Rev | Line |  | 
|---|
| [757] | 1 | // Classe d'initialisation du module NTools | 
|---|
|  | 2 |  | 
|---|
|  | 3 | #include "machdefs.h" | 
|---|
|  | 4 | #include "ntoolsinit.h" | 
|---|
|  | 5 |  | 
|---|
|  | 6 | #include "poly.h" | 
|---|
|  | 7 | #include "generaldata.h" | 
|---|
|  | 8 | #include "cimage.h" | 
|---|
|  | 9 |  | 
|---|
|  | 10 | #include "tabmath.h" | 
|---|
|  | 11 | #include "dates.h" | 
|---|
|  | 12 | #include "datime.h" | 
|---|
|  | 13 |  | 
|---|
| [926] | 14 | /*! | 
|---|
|  | 15 | \defgroup NTools NTools module | 
|---|
|  | 16 | This module contains various tools for Sophya. | 
|---|
|  | 17 | */ | 
|---|
|  | 18 |  | 
|---|
| [757] | 19 | int NToolsInitiator::FgInit = 0; | 
|---|
|  | 20 |  | 
|---|
| [926] | 21 | /*! | 
|---|
|  | 22 | \class SOPHYA::NToolsInitiator | 
|---|
|  | 23 | \ingroup NTools | 
|---|
|  | 24 | Tools initiator | 
|---|
|  | 25 | */ | 
|---|
| [757] | 26 | NToolsInitiator::NToolsInitiator() | 
|---|
|  | 27 | : TArrayInitiator() | 
|---|
|  | 28 | { | 
|---|
|  | 29 | FgInit++; | 
|---|
|  | 30 | if (FgInit > 1)  return; | 
|---|
|  | 31 |  | 
|---|
|  | 32 | //   Enregistrement des classes PPersist du modules Outils++ | 
|---|
|  | 33 |  | 
|---|
|  | 34 | //  PPRegister(OMatrix); | 
|---|
|  | 35 | //  PPRegister(OVector); | 
|---|
|  | 36 |  | 
|---|
|  | 37 | PPRegister(ObjFileIO<Poly>); | 
|---|
|  | 38 | PPRegister(ObjFileIO<Poly2>); | 
|---|
|  | 39 |  | 
|---|
|  | 40 | PPRegister(ObjFileIO<GeneralFitData>); | 
|---|
|  | 41 |  | 
|---|
|  | 42 | PPRegister(RzImage); | 
|---|
|  | 43 | PPRegister(ImageU2); | 
|---|
|  | 44 | PPRegister(ImageI2); | 
|---|
|  | 45 | PPRegister(ImageI4); | 
|---|
|  | 46 | PPRegister(ImageR4); | 
|---|
|  | 47 |  | 
|---|
|  | 48 |  | 
|---|
|  | 49 |  | 
|---|
|  | 50 | //  TSidSetupLaSilla();    Old-Eros | 
|---|
|  | 51 |  | 
|---|
|  | 52 | gTimeZone = new TimeZone; | 
|---|
|  | 53 |  | 
|---|
|  | 54 | ptabFExp = new TabFExp; | 
|---|
|  | 55 |  | 
|---|
|  | 56 | } | 
|---|
|  | 57 |  | 
|---|
|  | 58 | NToolsInitiator::~NToolsInitiator() | 
|---|
|  | 59 | { | 
|---|
|  | 60 | FgInit--; | 
|---|
|  | 61 | } | 
|---|
|  | 62 |  | 
|---|
|  | 63 |  | 
|---|
|  | 64 | // On met un objet initiator en statique, pour les loaders qui savent | 
|---|
|  | 65 | // appeler le constructeur des objets statiques   Reza 08/98 | 
|---|
|  | 66 | static NToolsInitiator ntoolsinit; | 
|---|
|  | 67 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.