0024157: Parallelization of assembly part of BO
[occt.git] / src / DNaming / DNaming_TransformationDriver.cdl
CommitLineData
b311480e 1-- Created on: 2009-05-07
2-- Created by: Sergey ZARITCHNY <sergey.zaritchny@opencascade.com>
3-- Copyright (c) 2009-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
21
22
23class TransformationDriver from DNaming inherits Driver from TFunction
24
25 ---Purpose:
26
27uses
28 Label from TDF,
29 Logbook from TFunction,
30 Function from TFunction,
31 ExtendedString from TCollection,
32 NamedShape from TNaming,
33 Trsf from gp
34
35is
36 Create returns mutable TransformationDriver from DNaming;
37 ---Purpose: Constructor
38
39 ---Purpose: validation
40 -- ==========
41
42 Validate(me; theLog : in out Logbook from TFunction)
43 is redefined;
44 ---Purpose: Validates labels of a function in <log>.
45 -- In regeneration mode this method must be called (by the
46 -- solver) even if the function is not executed, to build
47 -- the valid label scope.
48
49 ---Purpose: execution of function
50 -- ======================
51
52 MustExecute (me; theLog : Logbook from TFunction)
53 ---Purpose: Analyse in <log> if the loaded function must be executed
54 -- (i.e.arguments are modified) or not.
55 -- If the Function label itself is modified, the function must
56 -- be executed.
57 returns Boolean from Standard
58 is redefined;
59
60 Execute (me; theLog : in out Logbook from TFunction)
61 ---Purpose: Execute the function and push in <log> the impacted
62 -- labels (see method SetImpacted).
63 returns Integer from Standard
64 is redefined;
65
66 LoadNamingDS(me; theResultLabel : Label from TDF; theSourceNS : NamedShape from TNaming;
67 theTrsf : Trsf from gp)
68 is private;
69
70end TransformationDriver;