FITSSKLoader.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Andrew Jameson
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Pulsar_FITSSKLoader_h
10 #define __Pulsar_FITSSKLoader_h
11 
12 #include "Pulsar/FITSArchive.h"
13 #include "Pulsar/SpectralKurtosis.h"
14 
15 namespace Pulsar {
16 
17  class FITSArchive::SKLoader : public Pulsar::SpectralKurtosis::Loader {
18 
19  public:
20 
22  SKLoader ();
23 
24  ~SKLoader ();
25 
26  void init (fitsfile* fptr, int row, int hdu_num);
27 
28  void load (SpectralKurtosis * instance);
29 
30  protected:
31 
33  fitsfile* fptr;
34 
36  int row;
37 
39  int hdu_num;
40 
41  };
42 }
43 
44 #endif
45 
static Archive * load(const std::string &name)
Factory returns a new instance loaded from filename.
Definition: Archive_load.C:28
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17