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=22fe573b9c061cc39282cd60d6b25f19f81a4e30;hpb=d7d6265cce5e49374130cb4c6a4cfb3a90eba875;p=modules%2Fshaper.git diff --git a/src/Model/Model_Update.h b/src/Model/Model_Update.h index 22fe573b9..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,11 +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