Open CASCADE Technology 7.8.2.dev
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.
 
 ~TopTools_MutexForShapeProvider ()
 Destructor.
 
void CreateMutexesForSubShapes (const TopoDS_Shape &theShape, const TopAbs_ShapeEnum theType)
 Creates and associates mutexes with each sub-shape of type theType in theShape.
 
void CreateMutexForShape (const TopoDS_Shape &theShape)
 Creates and associates mutex with theShape.
 
Standard_MutexGetMutex (const TopoDS_Shape &theShape) const
 Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL.
 
void RemoveAllMutexes ()
 Removes all mutexes.
 

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: