Version: 8.3.0
MeshEditor_I::TSearchersDeleter Struct Reference

Deleter of theNodeSearcher at any compute event occurred. More...

Inheritance diagram for MeshEditor_I::TSearchersDeleter:

Public Types

typedef map< int, SMESH_subMesh * > TDependsOnMap
 The meshod called by submesh: do my main job. More...
 

Public Member Functions

 TSearchersDeleter ()
 Delete theNodeSearcher. More...
 
void ProcessEvent (const int, const int eventType, SMESH_subMesh *sm, SMESH_subMeshEventListenerData *, const SMESH_Hypothesis *)
 set self on all submeshes and delete theNodeSearcher if other mesh is set More...
 
void Set (SMESH_Mesh *mesh, const string &meshPartIOR=string())
 delete self from all submeshes More...
 
void Unset (SMESH_Mesh *mesh)
 
bool IsDeletable () const
 
const char * GetName () const
 
virtual void BeforeDelete (SMESH_subMesh *subMesh, SMESH_subMeshEventListenerData *data)
 

Static Public Member Functions

static void Delete ()
 

Data Fields

SMESH_MeshmyMesh
 
string myMeshPartIOR
 Constructor. More...
 

Detailed Description

Deleter of theNodeSearcher at any compute event occurred.

Member Typedef Documentation

The meshod called by submesh: do my main job.

Constructor & Destructor Documentation

MeshEditor_I::TSearchersDeleter::TSearchersDeleter ( )

Delete theNodeSearcher.

Member Function Documentation

virtual void SMESH_subMeshEventListener::BeforeDelete ( SMESH_subMesh subMesh,
SMESH_subMeshEventListenerData data 
)
virtualinherited
static void MeshEditor_I::TSearchersDeleter::Delete ( )
static
const char* SMESH_subMeshEventListener::GetName ( ) const
inherited
bool SMESH_subMeshEventListener::IsDeletable ( ) const
inherited
void MeshEditor_I::TSearchersDeleter::ProcessEvent ( const int  ,
const int  eventType,
SMESH_subMesh sm,
SMESH_subMeshEventListenerData ,
const SMESH_Hypothesis  
)
virtual

set self on all submeshes and delete theNodeSearcher if other mesh is set

Reimplemented from SMESH_subMeshEventListener.

References SMESH_subMesh::COMPUTE_EVENT.

void MeshEditor_I::TSearchersDeleter::Unset ( SMESH_Mesh mesh)

Field Documentation

SMESH_Mesh* MeshEditor_I::TSearchersDeleter::myMesh
string MeshEditor_I::TSearchersDeleter::myMeshPartIOR

Constructor.