1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00
occt/src/BRepCheck/BRepCheck_DataMapOfShapeListOfStatus.hxx
asuraven 000c21fa0c 0027814: Parallelize BRepCheck_Analyzer
Change BRepCheck_Analyzer::Perform algorithm from recursion to 'for' loop
Add parallelization to BRepCheck_Analyzer::Perform
Add '-parallel' option to checkshape command to use parallelization. Default mode is single-thread.

mutex as Handle
2021-07-23 18:15:55 +03:00

36 lines
1.5 KiB
C++

// Created on: 1995-12-06
// Created by: Jacques GOUSSARD
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef BRepCheck_DataMapOfShapeListOfStatus_HeaderFile
#define BRepCheck_DataMapOfShapeListOfStatus_HeaderFile
#include <TopoDS_Shape.hxx>
#include <BRepCheck_ListOfStatus.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <NCollection_DataMap.hxx>
#include <NCollection_Shared.hxx>
typedef NCollection_DataMap<TopoDS_Shape,
Handle(NCollection_Shared <BRepCheck_ListOfStatus>),
TopTools_ShapeMapHasher>
BRepCheck_DataMapOfShapeListOfStatus;
typedef NCollection_DataMap<TopoDS_Shape,
Handle(NCollection_Shared <BRepCheck_ListOfStatus>),
TopTools_ShapeMapHasher>::Iterator
BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus;
#endif