|
Open CASCADE Technology
6.5.4
|
Class TopTools_MutexForShapeProvider This class is used to create and store mutexes associated with shapes.
#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. | |
Friends | |
| Standard_Boolean | IsEqual (const Handle_TopoDS_TShape &theFirstHandle, const Handle_TopoDS_TShape &theSecondHandle) |
| void TopTools_MutexForShapeProvider::CreateMutexesForSubShapes | ( | const TopoDS_Shape & | theShape, |
| const TopAbs_ShapeEnum | theType | ||
| ) |
| Standard_Mutex* TopTools_MutexForShapeProvider::GetMutex | ( | const TopoDS_Shape & | theShape | ) | const |
| Standard_Boolean IsEqual | ( | const Handle_TopoDS_TShape & | theFirstHandle, |
| const Handle_TopoDS_TShape & | theSecondHandle | ||
| ) | [friend] |
1.8.0