0024157: Parallelization of assembly part of BO
[occt.git] / src / DNaming / DNaming_Line3DDriver.cdl
CommitLineData
b311480e 1-- Created on: 2010-02-26
2-- Created by: Sergey ZARITCHNY <sergey.zaritchny@opencascade.com>
3-- Copyright (c) 2010-2012 OPEN CASCADE SAS
4--
5-- The content of this file is subject to the Open CASCADE Technology Public
6-- License Version 6.5 (the "License"). You may not use the content of this file
7-- except in compliance with the License. Please obtain a copy of the License
8-- at http://www.opencascade.org and read it completely before using this file.
9--
10-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12--
13-- The Original Code and all software distributed under the License is
14-- distributed on an "AS IS" basis, without warranty of any kind, and the
15-- Initial Developer hereby disclaims all such warranties, including without
16-- limitation, any warranties of merchantability, fitness for a particular
17-- purpose or non-infringement. Please see the License for the specific terms
18-- and conditions governing the rights and limitations under the License.
19
7fd59977 20
21class Line3DDriver from DNaming inherits Driver from TFunction
22
23 ---Purpose: Computes Line 3D function
24
25uses
26 Label from TDF,
27 Logbook from TFunction,
28 Function from TFunction,
29 Wire from TopoDS,
30 Array1OfShape from TopTools
31is
32 Create returns mutable Line3DDriver from DNaming;
33 ---Purpose: Constructor
34
35 ---Purpose: validation
36 -- ==========
37
38 Validate(me; theLog : in out Logbook from TFunction)
39 is redefined;
40 ---Purpose: Validates labels of a function in <log>.
41 -- In regeneration mode this method must be called (by the
42 -- solver) even if the function is not executed, to build
43 -- the valid label scope.
44
45 ---Purpose: execution of function
46 -- ======================
47
48 MustExecute (me; theLog : Logbook from TFunction)
49 ---Purpose: Analyse in <log> if the loaded function must be executed
50 -- (i.e.arguments are modified) or not.
51 -- If the Function label itself is modified, the function must
52 -- be executed.
53 returns Boolean from Standard
54 is redefined;
55
56 Execute (me; theLog : in out Logbook from TFunction)
57 ---Purpose: Execute the function and push in <log> the impacted
58 -- labels (see method SetImpacted).
59 returns Integer from Standard
60 is redefined;
61
62 LoadNamingDS(me; theResultLabel : Label from TDF; theWire : Wire from TopoDS;
63 theVertexes : Array1OfShape from TopTools;
64 isClosed : Boolean from Standard = Standard_False) is private;
65 ---Purpose: Loads a Line3D in a data framework
66
67end Line3DDriver;
68