Luiza  v03-01
ExampleProcessor.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef ExampleProcessor_h
4 #define ExampleProcessor_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
37  class ExampleProcessor : public Processor {
38 
39  public:
40 
41  virtual Processor* newProcessor() { return new ExampleProcessor ; }
42 
43 
45 
47 
49  virtual void init() ;
50 
52 
54  virtual void startAnalysis( GloriaDataContainer* ) ;
55 
57 
58  virtual void processData( GloriaDataContainer* data ) ;
59 
60 
61  virtual void check( GloriaDataContainer* data ) ;
62 
64 
65  virtual void concludeAnalysis( GloriaDataContainer* ) ;
66 
68 
69  virtual void end() ;
70 
71 
72  protected:
73 
75  void printEndMessage() const ;
76 
77  string _imageCollectionName;
78 
79  string _outputTextFile;
80 
81  // Vector for optional window definition
82 
83  std::vector<int > _WindowXY;
84 
85  int _Xmin,_Xmax,_Ymin,_Ymax;
86 
87  int _nLoops ;
88  int _nImgCollections ;
89  int _nImages ;
90 
91  GloriaFitsTable *_imgTable;
92 
93  } ;
94 
95 } // end namespace luiza
96 #endif
97 
98 
99 
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for Luiza processors.
Definition: Processor.h:55
Class for reading and processing fits tables in Luiza.
Definition: GloriaFitsTable.h:109
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: ExampleProcessor.h:41
Namespace for Luiza framework.
Definition: CCCollection.h:6
Example processor for users.
Definition: ExampleProcessor.h:37