Changeset 342 in Sophya for trunk/Poubelle/archTOI.old/archeopsfile.h
- Timestamp:
- Aug 2, 1999, 3:45:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archeopsfile.h
r315 r342 16 16 17 17 #include "ssthandler.h" 18 #include "gpsparser.h" 18 19 19 20 enum { … … 33 34 block_gyro_comprime_mask = 1 << block_gyro_comprime, 34 35 block_sst_comprime_mask = 1 << block_sst_comprime, 35 block_catalog_flash_mask = 1 << block_catalog_flash,36 // block_catalog_flash_mask = 1 << block_catalog_flash, 36 37 block_cmd_flash_mask = 1 << block_cmd_flash, 37 38 block_data_brute_mask = 1 << block_data_brute, … … 63 64 double getStartMJD(); 64 65 65 bool nextBlock(); // go to next block, true if block exists 66 bool nextBlock(); // go to next block, true if block exists (ie not EOF) 66 67 bool nextBlock(long mask); // go to next block matching mask 68 bool gotValidBlock(); // current block is good 67 69 int blockKind(); // kind of the current bloc, enum in archeops.h 68 70 int blockRawKind(); // kind of the current raw bloc, enum in archeops.h … … 70 72 string blockKdName(); 71 73 string blockRawKdName(); 74 string filename() {return fn;} 72 75 73 76 double perEchant(); // periode d'echantillonage pour le dernier bloc reglage … … 102 105 block_type_sst_comprime* lastSSTComp(); 103 106 107 void forceBlock(block_type_modele* blk); 108 104 109 // Decodage des derniers blocs.. 105 110 … … 109 114 // Ces fonctions travaillent sur le dernier bloc GPS 110 115 int getGPSBlockNum(); 116 bool hasGPSTime(); 117 bool hasGPSPos(); 118 bool hasGPSAlt(); 111 119 double getGPSUTC(); // en secondes depuis minuit UTC 112 120 double getGPSMJD(); // modified julian day du dernier bloc GPS, JD - 2450000 113 121 double getGPSLat(); // degres, + = NORD 114 122 double getGPSLong(); // degres, + = EST 123 double getGPSAlt(); // meters from sea level 115 124 116 125 // Bolo … … 122 131 int getSSTBlockNum(); 123 132 void needSSTProcessMask(int mask); 133 long getSSTRawSignal(int iDiode, int imesure); 124 134 long getSSTSignal(int iDiode, int imesure); 135 double getSSTStarZ(int iStar, int imesure); 136 double getSSTStarF(int iStar, int imesure); 137 138 int getGyroBlockNum(); 139 long getGyro(int iGyro, int imesure); 125 140 126 141 double getAzimut(int imesure); … … 130 145 double getAlpha(int imesure); 131 146 double getDelta(int imesure); 147 148 static double decodeMJD(string const& dateString); // sans tenir compte de TU-TLeg 132 149 133 150 protected: … … 143 160 144 161 void computeMJD(string const& fname); 162 163 bool fixBlock(block_type_modele* blk); 164 long searchNextBlock(long pos); 145 165 146 166 int curKind;
Note:
See TracChangeset
for help on using the changeset viewer.