0025748: Parallel version of progress indicator
[occt.git] / src / Transfer / Transfer_ActorOfFinderProcess.hxx
1 // Created on: 1996-09-04
2 // Created by: Christian CAILLET
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _Transfer_ActorOfFinderProcess_HeaderFile
18 #define _Transfer_ActorOfFinderProcess_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <Standard_Integer.hxx>
24 #include <Transfer_ActorOfProcessForFinder.hxx>
25 class Transfer_Binder;
26 class Transfer_Finder;
27 class Transfer_ProcessForFinder;
28 class Transfer_FinderProcess;
29 class Standard_Transient;
30
31
32 class Transfer_ActorOfFinderProcess;
33 DEFINE_STANDARD_HANDLE(Transfer_ActorOfFinderProcess, Transfer_ActorOfProcessForFinder)
34
35 //! The original class was renamed. Compatibility only
36 //!
37 //! ModeTrans : a simple way of transmitting a transfer mode from
38 //! a user. To be interpreted for each norm
39 class Transfer_ActorOfFinderProcess : public Transfer_ActorOfProcessForFinder
40 {
41
42 public:
43
44   
45   Standard_EXPORT Transfer_ActorOfFinderProcess();
46   
47   //! Returns the Transfer Mode, modifiable
48   Standard_EXPORT Standard_Integer& ModeTrans();
49   
50   Standard_EXPORT virtual Handle(Transfer_Binder) Transferring
51                    (const Handle(Transfer_Finder)& start,
52                     const Handle(Transfer_ProcessForFinder)& TP,
53                     const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
54   
55   Standard_EXPORT virtual Handle(Transfer_Binder) Transfer
56                    (const Handle(Transfer_Finder)& start,
57                     const Handle(Transfer_FinderProcess)& TP,
58                     const Message_ProgressRange& theProgress = Message_ProgressRange());
59   
60   Standard_EXPORT virtual Handle(Standard_Transient) TransferTransient
61                    (const Handle(Standard_Transient)& start,
62                     const Handle(Transfer_FinderProcess)& TP,
63                     const Message_ProgressRange& theProgress = Message_ProgressRange());
64
65
66
67
68   DEFINE_STANDARD_RTTIEXT(Transfer_ActorOfFinderProcess,Transfer_ActorOfProcessForFinder)
69
70 protected:
71
72
73   Standard_Integer themodetrans;
74
75
76 private:
77
78
79
80
81 };
82
83
84
85
86
87
88
89 #endif // _Transfer_ActorOfFinderProcess_HeaderFile