0025748: Parallel version of progress indicator
[occt.git] / src / StepToTopoDS / StepToTopoDS_Builder.hxx
index 84f21ce..0481052 100644 (file)
@@ -25,6 +25,8 @@
 #include <TopoDS_Shape.hxx>
 #include <StepToTopoDS_Root.hxx>
 #include <Standard_Boolean.hxx>
+#include <Message_ProgressRange.hxx>
+
 class StdFail_NotDone;
 class StepShape_ManifoldSolidBrep;
 class Transfer_TransientProcess;
@@ -50,33 +52,38 @@ public:
   
   Standard_EXPORT StepToTopoDS_Builder();
   
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_ManifoldSolidBrep)& S, const Handle(Transfer_TransientProcess)& TP);
-  
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_BrepWithVoids)& S, const Handle(Transfer_TransientProcess)& TP);
-  
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_FacetedBrep)& S, const Handle(Transfer_TransientProcess)& TP);
-  
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_FacetedBrepAndBrepWithVoids)& S, const Handle(Transfer_TransientProcess)& TP);
-  
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_ShellBasedSurfaceModel)& S, const Handle(Transfer_TransientProcess)& TP, StepToTopoDS_NMTool& NMTool);
-  
-  Standard_EXPORT StepToTopoDS_Builder(const Handle(StepShape_GeometricSet)& S, const Handle(Transfer_TransientProcess)& TP);
-  
-  Standard_EXPORT void Init (const Handle(StepShape_ManifoldSolidBrep)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_ManifoldSolidBrep)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  Standard_EXPORT void Init (const Handle(StepShape_BrepWithVoids)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_BrepWithVoids)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  Standard_EXPORT void Init (const Handle(StepShape_FacetedBrep)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_FacetedBrep)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  Standard_EXPORT void Init (const Handle(StepShape_FacetedBrepAndBrepWithVoids)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_FacetedBrepAndBrepWithVoids)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  Standard_EXPORT void Init (const Handle(StepShape_ShellBasedSurfaceModel)& S, const Handle(Transfer_TransientProcess)& TP, StepToTopoDS_NMTool& NMTool);
+  Standard_EXPORT void Init (const Handle(StepShape_ShellBasedSurfaceModel)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             StepToTopoDS_NMTool& NMTool,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  Standard_EXPORT void Init (const Handle(StepShape_EdgeBasedWireframeModel)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_EdgeBasedWireframeModel)& S,
+                             const Handle(Transfer_TransientProcess)& TP);
   
-  Standard_EXPORT void Init (const Handle(StepShape_FaceBasedSurfaceModel)& S, const Handle(Transfer_TransientProcess)& TP);
+  Standard_EXPORT void Init (const Handle(StepShape_FaceBasedSurfaceModel)& S,
+                             const Handle(Transfer_TransientProcess)& TP);
   
-  Standard_EXPORT void Init (const Handle(StepShape_GeometricSet)& S, const Handle(Transfer_TransientProcess)& TP, const Handle(Transfer_ActorOfTransientProcess)& RA = NULL, const Standard_Boolean isManifold = Standard_False);
+  Standard_EXPORT void Init (const Handle(StepShape_GeometricSet)& S,
+                             const Handle(Transfer_TransientProcess)& TP,
+                             const Handle(Transfer_ActorOfTransientProcess)& RA = NULL,
+                             const Standard_Boolean isManifold = Standard_False,
+                             const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   Standard_EXPORT const TopoDS_Shape& Value() const;