A base for objects reacting on submesh events.
Do something on a certain event.
- Parameters
-
event | - algo_event or compute_event itself (of SMESH_subMesh) |
eventType | - ALGO_EVENT or COMPUTE_EVENT (of SMESH_subMesh) |
subMesh | - the submesh where the event occurs |
data | - listener data stored in the subMesh |
hyp | - hypothesis, if eventType is algo_event |
The base implementation (see SMESH_subMesh.cxx) translates CLEAN event to the subMeshes stored in the listener data. Also it sends SUBMESH_COMPUTED event in case of successful COMPUTE event.
- Parameters
-
event | - algo_event or compute_event itself |
eventType | - algo_event or compute_event |
subMesh | - the submesh where the event occurs |
data | - listener data stored in the subMesh |
hyp | - hypothesis, if eventType is algo_event |
The base implementation translates CLEAN event to the subMesh stored in listener data. Also it sends SUBMESH_COMPUTED event in case of successful COMPUTE event.
Reimplemented in VISCOUS_3D::_ShrinkShapeListener, VISCOUS_2D::_ProxyMeshHolder, and VISCOUS_3D::_ViscousListener.
References SMESH_subMesh::CLEAN, SMESH_subMesh::COMPUTE, SMESH_subMesh::COMPUTE_EVENT, SMESH_subMesh::COMPUTE_OK, SMESH_subMesh::COMPUTE_SUBMESH, SMESH_subMesh::GetComputeState(), and SMESH_subMesh::SUBMESH_COMPUTED.
Referenced by VISCOUS_3D::_ShrinkShapeListener::ProcessEvent().