- Timestamp:
- Mar 30, 2011, 9:36:02 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/ippToPsps/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/ippToPsps/src
- Property svn:ignore
-
old new 9 9 config.h.in 10 10 stamp-h1 11 ippToPspsVersionDefinitions.h 11 VersionDefinitions.h 12 detectionbatch 13 initbatch 14 stackbatch 15
-
- Property svn:ignore
-
branches/eam_branches/ipp-20110213/ippToPsps/src/Batch.h
r30812 r31083 1 /** @file ippToPsps.h1 /** @file Batch.h 2 2 * 3 3 * @brief Batch … … 6 6 * 7 7 * @author IfA 8 * Copyright 20 09Institute for Astronomy, University of Hawaii8 * Copyright 2011 Institute for Astronomy, University of Hawaii 9 9 */ 10 10 … … 12 12 #define IPPTOPSPS_BATCH_H 13 13 14 #include <libxml/parser.h> 15 #include <libxml/tree.h> 16 14 17 #include <psmodules.h> 15 18 #include <dvo_util.h> 16 #include "Config.h" 17 #include <libxml/parser.h> 18 #include <libxml/tree.h> 19 20 #include "FitsGenerator.h" 21 #include "Fits.h" 22 #include "InitData.h" 23 #include "Logger.h" 19 24 20 25 /** … … 25 30 - StackBatch 26 31 27 All subclasses need to implement the run() method and may need to imple nent print() and/or init()32 All subclasses need to implement the run() method and may need to implement print() 28 33 */ 29 34 typedef struct Batch { 30 35 31 36 // fields 32 char surveyType[10]; // the survey type, eg 3PI, MD01, STS, SSS33 int8_t surveyID; // survey ID34 char fitsInPath[1000]; // path to FITS input35 char resultsPath[1000]; // path to results file36 xmlDocPtr resultsXmlDoc; // pointer to XML document for results37 uint16_t numOfInputFiles; // number of input files38 char** inputFiles; // array of input file names39 char fitsOutFile[100]; // FITS output filename40 char fitsOutPath[1000]; // path to FITS output41 fitsfile *fitsOut; // output FITS file42 char configsDir[500]; // path to IPP/PSPS mapping file43 pmConfig* pmconfig; // pmConfig44 dvoConfig* dvoConfig; // dvo database45 IppToPspsConfig* config; // config structure46 char todaysDate[20]; // today's date47 int exitCode; // ps exit code37 char surveyType[10]; // the survey type, eg 3PI, MD01, STS, SSS 38 int8_t surveyID; // survey ID 39 char fitsInPath[1000]; // path to FITS input 40 char resultsPath[1000]; // path to results file 41 xmlDocPtr resultsXmlDoc; // pointer to XML document for results 42 uint16_t numOfInputFiles; // number of input files 43 char** inputFiles; // array of input file names 44 Fits *fitsOut; // output FITS file 45 pmConfig* pmconfig; // pmConfig 46 dvoConfig* dvoConfig; // dvo database 47 FitsGenerator* fitsGenerator; // FitsGenerator object 48 InitData* initData; // InitData object 49 char todaysDate[20]; // today's date 50 int exitCode; // ps exit code 51 bool testMode; // test mode boolean 52 Logger* logger; // Logger object 48 53 49 54 // methods 50 55 bool (*parseArguments)(); 51 bool (*init)();52 56 int (*run)(); 53 57 void (*print)(); … … 57 61 bool (*gotConfig)(); 58 62 bool (*gotSurveyType)(); 63 64 // destructor 59 65 void (*destroy)(); 60 66 … … 62 68 63 69 // public functions 64 bool new_Batch( Batch *this);70 bool new_Batch(Logger* logger, Batch *this); 65 71 66 72 void ippToPsps_VersionPrint(void);
Note:
See TracChangeset
for help on using the changeset viewer.
