/** @file DetectionBatch.h
 *
 *  @brief DetectionBatch
 *
 *  @ingroup ippToPsps
 *
 *  @author IfA
 *  Copyright 2009 Institute for Astronomy, University of Hawaii
 */

#ifndef IPPTOPSPS_DETECTIONBATCH_H
#define IPPTOPSPS_DETECTIONBATCH_H

#include "Batch.h"

/**
  Sub-class of Batch for detections
  */
typedef struct DetectionBatch {

    // fields
    Batch base;          // base class
    size_t MAXDETECT;    // max number of detections per chip
    uint32_t expId;      // exposure ID
    char* expName;       // the exposure name

    // methods
    void (*print)();
    void (*destroy)();

} DetectionBatch;

DetectionBatch *new_DetectionBatch(Logger* logger, int *argc, char **argv);

# endif // IPPTOPSPS_DETECTIONBATCH_H 
