Open CASCADE Technology
7.7.0
|
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_Mutex * | GetMutex (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... | |
Class TopTools_MutexForShapeProvider This class is used to create and store mutexes associated with shapes.
TopTools_MutexForShapeProvider::TopTools_MutexForShapeProvider | ( | ) |
Constructor.
TopTools_MutexForShapeProvider::~TopTools_MutexForShapeProvider | ( | ) |
Destructor.
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.
void TopTools_MutexForShapeProvider::CreateMutexForShape | ( | const TopoDS_Shape & | theShape | ) |
Creates and associates mutex with theShape.
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.
void TopTools_MutexForShapeProvider::RemoveAllMutexes | ( | ) |
Removes all mutexes.