Back to index

salome-smesh  6.5.0
Public Member Functions | Static Public Member Functions | Public Attributes
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:
Inheritance graph
Collaboration diagram for SMESH_subMeshEventListenerData:
Collaboration graph

List of all members.

Public Member Functions

 SMESH_subMeshEventListenerData (bool isDeletable)
virtual ~SMESH_subMeshEventListenerData ()
bool IsDeletable () const

Static Public Member Functions

MakeData (SMESH_subMesh *dependentSM, const int type=0)
 Create a default listener data.

Public Attributes

bool myIsDeletable
 if true, it will be deleted by SMESH_subMesh
int myType
 to recognize data type
std::list< SMESH_subMesh * > mySubMeshes

Detailed Description

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

Definition at line 86 of file SMESH_subMeshEventListener.hxx.

Constructor & Destructor Documentation

Definition at line 95 of file SMESH_subMeshEventListener.hxx.

:myIsDeletable(isDeletable) {}

Here is the caller graph for this function:

Definition at line 96 of file SMESH_subMeshEventListener.hxx.


Member Function Documentation

Definition at line 97 of file SMESH_subMeshEventListener.hxx.

{ return myIsDeletable; }
static SMESH_subMeshEventListenerData* SMESH_subMeshEventListenerData::MakeData ( SMESH_subMesh *  dependentSM,
const int  type = 0 
) [inline, static]

Create a default listener data.

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)

Definition at line 108 of file SMESH_subMeshEventListener.hxx.

    SMESH_subMeshEventListenerData* data = new SMESH_subMeshEventListenerData(true);
    data->mySubMeshes.push_back( dependentSM );
    data->myType = type;
    return data;

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

if true, it will be deleted by SMESH_subMesh

Definition at line 88 of file SMESH_subMeshEventListener.hxx.

Definition at line 90 of file SMESH_subMeshEventListener.hxx.

to recognize data type

Definition at line 89 of file SMESH_subMeshEventListener.hxx.

The documentation for this struct was generated from the following file: