IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2011, 4:11:23 PM (15 years ago)
Author:
rhenders
Message:

Using new Fits class and Config class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/Batch.h

    r30968 r31011  
    1818#include <libxml/tree.h>
    1919
     20#include "Fits.h"
     21
    2022/**
    2123  Abstract base class for all batches. Known subclasses are:
     
    2527  - StackBatch
    2628
    27   All subclasses need to implement the run() method and may need to implenent print() and/or init()
     29  All subclasses need to implement the run() method and may need to implenent print()
    2830  */
    2931typedef struct Batch {
     
    3739    uint16_t numOfInputFiles;   // number of input files
    3840    char** inputFiles;          // array of input file names
    39     char fitsOutFile[100];      // FITS output filename
    40     char fitsOutPath[1000];     // path to FITS output
    41     fitsfile *fitsOut;          // output FITS file
    42     char configsDir[500];       // path to IPP/PSPS mapping file
     41    Fits *fitsOut;              // output FITS file
    4342    pmConfig* pmconfig;         // pmConfig
    4443    dvoConfig* dvoConfig;       // dvo database
    45     IppToPspsConfig* config;    // config structure
     44    Config* config;    // config structure
    4645    char todaysDate[20];        // today's date
    4746    int exitCode;               // ps exit code
     
    5049    // methods
    5150    bool (*parseArguments)();
    52     bool (*init)();
    5351    int (*run)();
    5452    void (*print)();
     
    5856    bool (*gotConfig)();
    5957    bool (*gotSurveyType)();
     58
     59    // destructor
    6060    void (*destroy)();
    6161
Note: See TracChangeset for help on using the changeset viewer.