Ignore:
Timestamp:
07/06/11 16:52:38 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1913

Ready for Test: No

Interface Changes: 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...

Update of asdm2ASAP and related classes.

  • replaced LogIO with StreamLogSink?
  • all log messages are written to logger via StreamLogSink?
  • no output to stdout/stderr
  • commented out junk log
  • added time_sampling selection
  • supported wvr_corrected_data='both'
  • added logfile specification
  • added corr_mode selection


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/asdm2ASAP/ASDMReader.h

    r2197 r2208  
    77#include <casa/Utilities/CountedPtr.h>
    88#include <casa/Containers/Record.h>
     9#include <casa/Logging/LogSinkInterface.h>
    910#include <ASDMAll.h>
    1011#include <SDMBinData.h>
     
    3536   * fill data
    3637   **/
    37   void fill() ;
     38//   void fill() ;
    3839
    3940  /**
     
    121122
    122123  /**
    123    * set Main rows that matches given context (configDescId and fieldId) to mainRow_
     124   * set Main rows that matches given context (configDescId and fieldId)
     125   * to mainRow_
    124126   *
    125127   * @param configDescId
     
    357359   * @return list of dataDescId
    358360   **/
    359   casa::Vector<casa::uInt> getDataDescIdList( casa::uInt cdid ) ;
     361//   casa::Vector<casa::uInt> getDataDescIdList( casa::uInt cdid ) ;
    360362
    361363  /**
     
    365367   * @return list of dataDescId
    366368   **/
    367   casa::Vector<casa::uInt> getSwitchCycleIdList( casa::uInt cdid ) ;
     369//   casa::Vector<casa::uInt> getSwitchCycleIdList( casa::uInt cdid ) ;
    368370
    369371  /**
     
    375377   * @return list of valid feedId
    376378   **/
    377   casa::Vector<casa::uInt> getFeedIdList( casa::uInt cdid ) ;
     379//   casa::Vector<casa::uInt> getFeedIdList( casa::uInt cdid ) ;
    378380
    379381  /**
     
    390392   **/
    391393  unsigned int getNumData() { return numData_ ; } ;
     394
     395  /**
     396   * set Logger
     397   *
     398   * @param logger (LogSinkInterface)
     399   **/
     400  void setLogger( casa::CountedPtr<casa::LogSinkInterface> &logsink ) ;
    392401
    393402
     
    524533  int weatherStationId_ ; // closest weather station for antennaId_
    525534  AtmPhaseCorrectionMod::AtmPhaseCorrection apc_ ; // ATM phase correction
     535  EnumSet<CorrelationModeMod::CorrelationMode> corrMode_ ; // input correlation mode
     536  EnumSet<TimeSamplingMod::TimeSampling> timeSampling_ ; // time sampling
     537  casa::CountedPtr<casa::LogSinkInterface> logsink_ ; // Logger
     538  casa::String className_ ;
    526539} ;
    527540#endif // ASAP_ASDM_READER_H
Note: See TracChangeset for help on using the changeset viewer.