0025748: Parallel version of progress indicator
[occt.git] / src / Transfer / Transfer_TransferOutput.hxx
index f3361f2..85090b5 100644 (file)
@@ -20,8 +20,9 @@
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
-
 #include <Standard_Boolean.hxx>
+#include <Message_ProgressRange.hxx>
+
 class Transfer_TransientProcess;
 class Interface_InterfaceModel;
 class Standard_NoSuchObject;
@@ -32,7 +33,6 @@ class Interface_Protocol;
 class Interface_Graph;
 class Interface_EntityIterator;
 
-
 //! A TransferOutput is a Tool which manages the transfer of
 //! entities created by an Interface, stored in an InterfaceModel,
 //! into a set of Objects suitable for an Application
@@ -67,22 +67,25 @@ public:
   
   //! Transfer checks that all taken Entities come from the same
   //! Model, then calls Transfer from TransientProcess
-  Standard_EXPORT void Transfer (const Handle(Standard_Transient)& obj);
+  Standard_EXPORT void Transfer (const Handle(Standard_Transient)& obj,
+                                 const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   //! Runs transfer on the roots of the Interface Model
   //! The Roots are computed with a ShareFlags created from a
   //! Protocol given as Argument
-  Standard_EXPORT void TransferRoots (const Handle(Interface_Protocol)& protocol);
+  Standard_EXPORT void TransferRoots (const Handle(Interface_Protocol)& protocol,
+                                      const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   //! Runs transfer on the roots defined by a Graph of dependences
   //! (which detains also a Model and its Entities)
   //! Roots are computed with a ShareFlags created from the Graph
-  Standard_EXPORT void TransferRoots (const Interface_Graph& G);
+  Standard_EXPORT void TransferRoots (const Interface_Graph& G,
+                                      const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   //! Runs transfer on the roots of the Interface Model
   //! Remark : the Roots are computed with a ShareFlags created
   //! from the Active Protocol
-  Standard_EXPORT void TransferRoots();
+  Standard_EXPORT void TransferRoots(const Message_ProgressRange& theProgress = Message_ProgressRange());
   
   //! Returns the list of Starting Entities with these criteria :
   //! - <normal> False, gives the entities bound with ABNORMAL STATUS