- ///< initial set of updated features that must be processed
- std::set<boost::shared_ptr<ModelAPI_Object> > myInitial;
- ///< already updated and processed features and modificated feature flag
- std::map<boost::shared_ptr<ModelAPI_Object>, bool> myUpdated;
- ///< to know that all next updates are caused by this execution
- bool isExecuted;
-public:
+ /// Features and results that were modified and not yet processed.
+ /// The second set is the objects that causes this object is modified
+ std::map<std::shared_ptr<ModelAPI_Feature>, std::set<std::shared_ptr<ModelAPI_Feature> > >
+ myModified;
+ /// Features which arguments were modified by not-persistent changes.
+ /// So, these referencing arguments must be updated
+ /// due to these features info also before execution).
+ std::map<std::shared_ptr<ModelAPI_Feature>, std::set<std::shared_ptr<ModelAPI_Feature> > >
+ myNotPersistentRefs;
+ /// features that must be additionally processed after execution of finish operation
+ std::set<std::shared_ptr<ModelAPI_Feature> > myWaitForFinish;
+ /// to know that some parameter was changed during this operation (to enable update expressions)
+ bool myIsParamUpdated;
+ /// to execute features on finish if preview is needed only on finish operation
+ bool myIsFinish;
+ /// try if processing is currently performed
+ bool myIsProcessed;
+ /// map that contains features that must be executed only on finish of the operation
+ /// the value in map is the set of reasons
+ std::map<std::shared_ptr<ModelAPI_Feature>, std::set<std::shared_ptr<ModelAPI_Feature> > >
+ myProcessOnFinish;
+ /// to avoid infinitive cycling: feature -> count of the processing periods during this update
+ std::map<std::shared_ptr<ModelAPI_Feature>, int > myProcessed;
+ /// if preview in the property panel is blocked any update is postponed until end of operation
+ bool myIsPreviewBlocked;
+ /// disables any update if it is true, even on start/finish operation, undo, etc.
+ bool myUpdateBlocked;
+
+ public: