Commit d3c2fe4c authored by Ken Edmundson's avatar Ken Edmundson
Browse files

Added typedef for QSharedPointer to control network.

parent 882d2866
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -213,6 +213,7 @@ namespace Isis {
   *                           image. Previously, this had to be done throug the graph.
   *   @history 2018-01-26 Kristin Berry - Added pointAdded() function to eliminate redundant measure
   *                           adds to the control network. 
   *   @history 2018-06-22 Ken Edmundson - Added typedef for QSharedPointer to control network.
   */
  class ControlNet : public QObject {
      Q_OBJECT
@@ -454,11 +455,11 @@ namespace Isis {
      bool m_ownPoints; //!< Specifies ownership of point list. True if owned by this object. 
  };

  //! This typedef is for future implementation of target body
  //! Typedef for QSharedPointer to control network.
  typedef QSharedPointer<ControlNet> ControlNetQsp;
}

//! This allows ControlNet *'s to be stored in a QVariant.
Q_DECLARE_METATYPE(Isis::ControlNet *);
Q_DECLARE_METATYPE(Isis::ControlNet *)

#endif