X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Update.h;h=c28d30b255ca3cba728e4a94e9713f3700c640fc;hb=refs%2Ftags%2FV_1.2.1;hp=89141313b1f36437c982cddac479bb4648d15fce;hpb=b60c0aec61603b3f1218bec0e3366decfb49a67c;p=modules%2Fshaper.git diff --git a/src/Model/Model_Update.h b/src/Model/Model_Update.h index 89141313b..c28d30b25 100644 --- a/src/Model/Model_Update.h +++ b/src/Model/Model_Update.h @@ -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 theFeature); + + /// returns true if the object was created or updated + bool isUpdated(const std::shared_ptr& theObj); }; #endif