Ignore:
Timestamp:
Aug 2, 1999, 3:45:52 PM (26 years ago)
Author:
ansari
Message:

archtoi 2 aout 99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/archeopsfile.h

    r315 r342  
    1616
    1717#include "ssthandler.h"
     18#include "gpsparser.h"
    1819
    1920enum {
     
    3334  block_gyro_comprime_mask = 1 << block_gyro_comprime,
    3435  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,
    3637  block_cmd_flash_mask = 1 << block_cmd_flash,
    3738  block_data_brute_mask = 1 << block_data_brute,
     
    6364  double getStartMJD();
    6465 
    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)
    6667  bool nextBlock(long mask); // go to next block matching mask
     68  bool gotValidBlock(); // current block is good
    6769  int  blockKind();   // kind of the current bloc, enum in archeops.h
    6870  int  blockRawKind();   // kind of the current raw bloc, enum in archeops.h
     
    7072  string blockKdName();
    7173  string blockRawKdName();
     74  string filename() {return fn;}
    7275 
    7376  double perEchant(); // periode d'echantillonage pour le dernier bloc reglage
     
    102105  block_type_sst_comprime*  lastSSTComp();
    103106 
     107  void forceBlock(block_type_modele* blk);
     108 
    104109  // Decodage des derniers blocs..
    105110 
     
    109114  // Ces fonctions travaillent sur le dernier bloc GPS
    110115  int getGPSBlockNum();
     116  bool   hasGPSTime();
     117  bool   hasGPSPos();
     118  bool   hasGPSAlt();
    111119  double getGPSUTC();  // en secondes depuis minuit UTC
    112120  double getGPSMJD();  // modified julian day du dernier bloc GPS, JD - 2450000
    113121  double getGPSLat();  // degres, +  = NORD
    114122  double getGPSLong(); // degres, +  = EST
     123  double getGPSAlt();  // meters from sea level
    115124   
    116125  // Bolo
     
    122131  int getSSTBlockNum();
    123132  void needSSTProcessMask(int mask);
     133  long getSSTRawSignal(int iDiode, int imesure);
    124134  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);
    125140 
    126141  double getAzimut(int imesure);
     
    130145  double getAlpha(int imesure);
    131146  double getDelta(int imesure);
     147 
     148  static double decodeMJD(string const& dateString); // sans tenir compte de TU-TLeg
    132149   
    133150protected:
     
    143160 
    144161  void computeMJD(string const& fname);
     162 
     163  bool fixBlock(block_type_modele* blk);
     164  long searchNextBlock(long pos);
    145165   
    146166  int                       curKind;
Note: See TracChangeset for help on using the changeset viewer.