Open CASCADE Technology  7.7.0
Public Member Functions
TopTools_MutexForShapeProvider Class Reference

Class TopTools_MutexForShapeProvider This class is used to create and store mutexes associated with shapes. More...

#include <TopTools_MutexForShapeProvider.hxx>

Public Member Functions

 TopTools_MutexForShapeProvider ()
 Constructor. More...
 
 ~TopTools_MutexForShapeProvider ()
 Destructor. More...
 
void CreateMutexesForSubShapes (const TopoDS_Shape &theShape, const TopAbs_ShapeEnum theType)
 Creates and associates mutexes with each sub-shape of type theType in theShape. More...
 
void CreateMutexForShape (const TopoDS_Shape &theShape)
 Creates and associates mutex with theShape. More...
 
Standard_MutexGetMutex (const TopoDS_Shape &theShape) const
 Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL. More...
 
void RemoveAllMutexes ()
 Removes all mutexes. More...
 

Detailed Description

Class TopTools_MutexForShapeProvider This class is used to create and store mutexes associated with shapes.

Constructor & Destructor Documentation

◆ TopTools_MutexForShapeProvider()

TopTools_MutexForShapeProvider::TopTools_MutexForShapeProvider ( )

Constructor.

◆ ~TopTools_MutexForShapeProvider()

TopTools_MutexForShapeProvider::~TopTools_MutexForShapeProvider ( )

Destructor.

Member Function Documentation

◆ CreateMutexesForSubShapes()

void TopTools_MutexForShapeProvider::CreateMutexesForSubShapes ( const TopoDS_Shape theShape,
const TopAbs_ShapeEnum  theType 
)

Creates and associates mutexes with each sub-shape of type theType in theShape.

◆ CreateMutexForShape()

void TopTools_MutexForShapeProvider::CreateMutexForShape ( const TopoDS_Shape theShape)

Creates and associates mutex with theShape.

◆ GetMutex()

Standard_Mutex* TopTools_MutexForShapeProvider::GetMutex ( const TopoDS_Shape theShape) const

Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL.

◆ RemoveAllMutexes()

void TopTools_MutexForShapeProvider::RemoveAllMutexes ( )

Removes all mutexes.


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