Changeset 2747


Ignore:
Timestamp:
01/23/13 19:22:04 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770

Ready for Test: Yes

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...

Changed implementation not to use friend.


Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CalibrationManager.cpp

    r2742 r2747  
    155155    STCalTsys cal(target_, spwlist_);
    156156    cal.calibrate();
    157     tsystables_.push_back(cal.applytable_);
     157    tsystables_.push_back(cal.applytable());
    158158  }
    159159  else if (calmode_ == "PS") {
     
    165165      STCalSkyPSAlma cal(target_);
    166166      cal.calibrate();
    167       skytables_.push_back(cal.applytable_);
     167      skytables_.push_back(cal.applytable());
    168168    }
    169169    else {
  • trunk/src/STCalSkyPSAlma.h

    r2742 r2747  
    2929#include "STCalSkyTable.h"
    3030
    31 class CalibrationManager;
    32 
    3331namespace asap {
    3432
     
    3836 */
    3937class STCalSkyPSAlma : public STCalibration {
    40 
    41   friend class CalibrationManager;
    42 
    4338public:
    4439  STCalSkyPSAlma(casa::CountedPtr<Scantable> &s);
  • trunk/src/STCalTsys.h

    r2742 r2747  
    3030#include "STCalTsysTable.h"
    3131
    32 class CalibrationManager;
    33 
    3432namespace asap {
    3533
     
    3937 */
    4038class STCalTsys : public STCalibration {
    41 
    42   friend class CalibrationManager;
    43 
    4439public:
    4540  STCalTsys(casa::CountedPtr<Scantable> &s, vector<int> &iflist);
  • trunk/src/STCalibration.h

    r2742 r2747  
    2626#include "STApplyTable.h"
    2727
    28 class CalibrationManager;
    29 
    3028namespace asap {
    3129
     
    3533 */
    3634class STCalibration {
    37 
    38   friend class CalibrationManager;
    39 
    4035public:
    4136  STCalibration(casa::CountedPtr<Scantable> &s);
     
    4641
    4742  void save(casa::String name) {applytable_->save(name);}
    48   const STApplyTable &applytable() {return *applytable_;}
     43  //const STApplyTable &applytable() {return *applytable_;}
     44  const casa::CountedPtr<STApplyTable> applytable() {return applytable_;}
    4945protected:
    5046  virtual void setupSelector() = 0;
Note: See TracChangeset for help on using the changeset viewer.