]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Data.h
Salome HOME
Optimization of circle and arc creation
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index 05dc2be644771e2b21e80311250421a2d14eb311..320dffb4035b640acc63fa219fa7731a2b34cd10 100644 (file)
@@ -118,7 +118,11 @@ class MODELAPI_EXPORT ModelAPI_Data
   /// makes attribute initialized
   virtual void sendAttributeUpdated(ModelAPI_Attribute* theAttr) = 0;
   /// Blocks sending "attribute updated" if theBlock is true
-  virtual void blockSendAttributeUpdated(const bool theBlock) = 0;
+  /// \param theID identifier of the attribute that can be referenced by this ID later
+  /// \param theAttrType type of the created attribute (received from the type method)
+  /// \returns the just created attribute
+  virtual void blockSendAttributeUpdated(
+    const bool theBlock, const bool theSendMessage = true) = 0;
 
   /// Erases all the data from the data model
   virtual void erase() = 0;