Commit 2fc3e2ae authored by Kristin Berry's avatar Kristin Berry Committed by Jesse Mapel
Browse files

Add virtuals to AbstractBundleObservation and get compiling again

parent c1adabcf
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -175,9 +175,10 @@ namespace Isis {
   *   @todo initParameterWeights() doesn't return false, so this methods always
   *         returns true.
   */
//  bool AbstractBundleObservation::setSolveSettings(BundleObservationSolveSettings solveSettings) {
  bool AbstractBundleObservation::setSolveSettings(BundleObservationSolveSettings solveSettings) {
    // different for both
//  }
    return false;
  }


  /**
@@ -317,6 +318,8 @@ namespace Isis {
 */
QString AbstractBundleObservation::formatBundleOutputString(bool errorPropagation, bool imageCSV) {
  // different for both
  // TODO: either remove or update. 
  return "Test";
}


@@ -345,6 +348,8 @@ QString AbstractBundleObservation::formatBundleOutputString(bool errorPropagatio
   */
  QString AbstractBundleObservation::bundleOutputCSV(bool errorPropagation) {
    // different in both
    // TODO: either remove or update. 
    return "Test";
  }


+12 −11
Original line number Diff line number Diff line
@@ -43,13 +43,14 @@ namespace Isis {
      virtual AbstractBundleObservation &operator=(const AbstractBundleObservation &src);

      // copy method
      virtual void copy(const AbstractBundleObservation &src);
      // not implementedn in BundleObservation either??? 
//      virtual void copy(const AbstractBundleObservation &src);

      void append(const BundleImageQsp &value);
      virtual void append(const BundleImageQsp &value);

      BundleImageQsp imageByCubeSerialNumber(QString cubeSerialNumber);

      bool setSolveSettings(BundleObservationSolveSettings solveSettings);
      virtual bool setSolveSettings(BundleObservationSolveSettings solveSettings);

      void setIndex(int n);
      int index();
@@ -61,19 +62,19 @@ namespace Isis {
      LinearAlgebra::Vector &aprioriSigmas();
      LinearAlgebra::Vector &adjustedSigmas();

      const BundleObservationSolveSettingsQsp solveSettings();
      virtual const BundleObservationSolveSettingsQsp solveSettings();
      int numberParameters();
      bool applyParameterCorrections(LinearAlgebra::Vector corrections);
      virtual bool applyParameterCorrections(LinearAlgebra::Vector corrections);


      void bundleOutputString(std::ostream &fpOut,bool errorPropagation);
      QString bundleOutputCSV(bool errorPropagation);
      virtual void bundleOutputString(std::ostream &fpOut,bool errorPropagation);
      virtual QString bundleOutputCSV(bool errorPropagation);

      QString formatBundleOutputString(bool errorPropagation, bool imageCSV=false);
      virtual QString formatBundleOutputString(bool errorPropagation, bool imageCSV=false);

      // CAN we have this for both?
      QStringList parameterList();
      QStringList imageNames();
      virtual QStringList parameterList();
      virtual QStringList imageNames();

    private:
      QString m_observationNumber; /**< This is typically equivalent to serial number
@@ -103,7 +104,7 @@ namespace Isis {
  };

  //! Typdef for AbstractBundleObservation QSharedPointer.
  typedef QSharedPointer<AbstractBundleObservation> AbstractBundleObservationQsp; // change name or no?
  typedef QSharedPointer<AbstractBundleObservation> AbstractBundleObservationQsp;
}

#endif // AbstractBundleObservation_h