bool myIsDeletable; //!< if true, it will be deleted by SMESH_subMesh
mutable std::set<SMESH_subMesh*> myBusySM; //!< to avoid infinite recursion via events
friend class SMESH_subMesh;
-public:
- SMESH_subMeshEventListener(bool isDeletable):myIsDeletable(isDeletable) {}
+#ifdef _DEBUG_
+ const char* myName; //!< identifier used for debug
+#endif
+
+ public:
+ SMESH_subMeshEventListener(bool isDeletable, const char* name) :myIsDeletable(isDeletable)
+#ifdef _DEBUG_
+ ,myName(name)
+#endif
+ {}
bool IsDeletable() const { return myIsDeletable; }
/*!
* \brief Do something on a certain event
* \param hyp - hypothesis, if eventType is algo_event
*
* The base implementation (see SMESH_subMesh.cxx) translates CLEAN event
- * to the subMesh stored in the listener data. Also it sends SUBMESH_COMPUTED
+ * to the subMeshes stored in the listener data. Also it sends SUBMESH_COMPUTED
* event in case of successful COMPUTE event.
*/
virtual void ProcessEvent(const int event,