Open CASCADE Technology 7.8.2.dev
|
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_Mutex * | GetMutex (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. | |
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.