Changeset 2593 for trunk/src/STGrid.h


Ignore:
Timestamp:
07/09/12 16:54:10 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

New class asapgrid2 is defined. Difference from asapgrid class is
that input and output is a scantable instance, not a table name.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.h

    r2413 r2593  
    2727#include <tables/Tables/ArrayColumn.h>
    2828
     29#include "ScantableWrapper.h"
     30#include "Scantable.h"
    2931#include "concurrent.h"
    3032
     
    6769  string saveData( string outfile="" ) ;
    6870
    69 private:
     71//private:
     72protected:
    7073  void init() ;
    7174
     
    196199  Bool isMultiIF( Table &tab ) ;
    197200  void fillMainColumns( Table &tab ) ;
     201  void fillTable( Table &tab ) ;
     202  virtual void table( Table &tab, uInt i ) ;
    198203  static bool produceChunk(void *ctx) throw(concurrent::PCException);
    199204  static void consumeChunk(void *ctx) throw(concurrent::PCException);
     
    257262  double eGGridSD_;
    258263};
     264
     265class STGrid2 : public STGrid
     266{
     267public:
     268  STGrid2() ;
     269  STGrid2( const ScantableWrapper &s ) ;
     270  STGrid2( const vector<ScantableWrapper> &v ) ;
     271  void setScantable( const ScantableWrapper &s ) ;
     272  void setScantableList( const vector<ScantableWrapper> &v ) ;
     273  void selectData() ;
     274  virtual void table( Table &tab, uInt i ) ;
     275  ScantableWrapper getResultAsScantable() ;
     276
     277private:
     278  Block<ScantableWrapper> dataList_ ;
     279};
    259280}
    260281#endif
Note: See TracChangeset for help on using the changeset viewer.