Version: 8.3.0
SMESH_subMeshEventListenerData Struct Reference

Data specific for EventListener and to be stored in a submesh. More...

#include <SMESH_subMeshEventListener.hxx>

Inheritance diagram for SMESH_subMeshEventListenerData:

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
 

Detailed Description

Data specific for EventListener and to be stored in a submesh.

Constructor & Destructor Documentation

SMESH_subMeshEventListenerData::SMESH_subMeshEventListenerData ( bool  isDeletable)

Referenced by MakeData().

virtual SMESH_subMeshEventListenerData::~SMESH_subMeshEventListenerData ( )
virtual

Member Function Documentation

bool SMESH_subMeshEventListenerData::IsDeletable ( ) const
static SMESH_subMeshEventListenerData* SMESH_subMeshEventListenerData::MakeData ( SMESH_subMesh dependentSM,
const int  type = 0 
)
static

Create a default listener data.

Parameters
dependentSM- subMesh to store
type- data type
Return values
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().

Field Documentation

bool SMESH_subMeshEventListenerData::myIsDeletable

if true, it will be deleted by SMESH_subMesh

Referenced by IsDeletable().

int SMESH_subMeshEventListenerData::myType

to recognize data type

Referenced by MakeData().