Data specific for EventListener and to be stored in a submesh. More...
#include <SMESH_subMeshEventListener.hxx>
Public Member Functions | |
SMESH_subMeshEventListenerData (bool isDeletable) | |
virtual | ~SMESH_subMeshEventListenerData () |
bool | IsDeletable () const |
Static Public Member Functions | |
static SMESH_subMeshEventListenerData * | MakeData (SMESH_subMesh *dependentSM, const int type=0) |
Create a default listener data. More... | |
Data Fields | |
bool | myIsDeletable |
if true, it will be deleted by SMESH_subMesh More... | |
int | myType |
to recognize data type More... | |
std::list< SMESH_subMesh * > | mySubMeshes |
Data specific for EventListener and to be stored in a submesh.
SMESH_subMeshEventListenerData::SMESH_subMeshEventListenerData | ( | bool | isDeletable | ) |
Referenced by MakeData().
|
virtual |
bool SMESH_subMeshEventListenerData::IsDeletable | ( | ) | const |
References myIsDeletable.
Referenced by SMESH_subMesh::setEventListener().
|
static |
Create a default listener data.
dependentSM | - subMesh to store |
type | - data type |
SMESH_subMeshEventListenerData* | - a new listener data |
See SMESH_subMeshEventListener::ProcessEvent() to know how the default listener uses it (implementation is in SMESH_subMesh.cxx)
References mySubMeshes, myType, and SMESH_subMeshEventListenerData().
Referenced by StdMeshers_Penta_3D::MakeMeshOnFxy1(), StdMeshers_ProjectionUtils::SetEventListener(), and VISCOUS_3D::ToClearSubWithMain().
bool SMESH_subMeshEventListenerData::myIsDeletable |
if true, it will be deleted by SMESH_subMesh
Referenced by IsDeletable().
std::list<SMESH_subMesh*> SMESH_subMeshEventListenerData::mySubMeshes |
int SMESH_subMeshEventListenerData::myType |
to recognize data type
Referenced by MakeData().