Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Object.h
diff --git
a/src/ModelAPI/ModelAPI_Object.h
b/src/ModelAPI/ModelAPI_Object.h
index f6e3c6c3228d6b34867361e7ab06a8060b3c06d5..aba6567eb3a0d643409a36dc40644d2811650511 100644
(file)
--- a/
src/ModelAPI/ModelAPI_Object.h
+++ b/
src/ModelAPI/ModelAPI_Object.h
@@
-46,7
+46,7
@@
class ModelAPI_Object
}
/// Returns document this feature belongs to
}
/// Returns document this feature belongs to
- virtual boost::shared_ptr<ModelAPI_Document> document()
+ virtual boost::shared_ptr<ModelAPI_Document> document()
const
{
return myDoc;
}
{
return myDoc;
}
@@
-54,6
+54,10
@@
class ModelAPI_Object
/// Returns the group identifier of this object
virtual std::string groupName() = 0;
/// Returns the group identifier of this object
virtual std::string groupName() = 0;
+ /// Called on change of any argument-attribute of this object
+ MODELAPI_EXPORT virtual void attributeChanged()
+ {}
+
/// To use virtuality for destructors
virtual ~ModelAPI_Object() {}
/// To use virtuality for destructors
virtual ~ModelAPI_Object() {}