Salome HOME
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git] / src / Model / Model_Update.h
index 89141313b1f36437c982cddac479bb4648d15fce..c28d30b255ca3cba728e4a94e9713f3700c640fc 100644 (file)
@@ -31,6 +31,8 @@ class Model_Update : public Events_Listener
   bool myIsExecuted;
   /// to know execute or not automatically all update
   bool myIsAutomatic;
+  /// to know that some parameter was changed during this operation
+  bool myIsParamUpdated;
 
  public:
   /// Is called only once, on startup of the application
@@ -55,7 +57,14 @@ protected:
 
   /// On operation start/end/abort the "Just" fileds must be cleared and processed in the right way
   /// \param theTotalUpdate force to updates everything that has been changed in this operation
-  void processOperation(const bool theTotalUpdate);
+  void processOperation(const bool theTotalUpdate, const bool theFinish = false);
+
+  /// Performs the feature execution
+  /// \returns the status of execution
+  void executeFeature(std::shared_ptr<ModelAPI_Feature> theFeature);
+
+  /// returns true if the object was created or updated
+  bool isUpdated(const std::shared_ptr<ModelAPI_Object>& theObj);
 };
 
 #endif