0024157: Parallelization of assembly part of BO
[occt.git] / src / IFSelect / IFSelect_DispPerSignature.cdl
CommitLineData
b311480e 1-- Created on: 1994-12-21
2-- Created by: Christian CAILLET
3-- Copyright (c) 1994-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23class DispPerSignature from IFSelect inherits Dispatch
24
25 ---Purpose : A DispPerSignature sorts input Entities according to a
26 -- Signature : it works with a SignCounter to do this.
27
28uses AsciiString from TCollection, Graph, SubPartsIterator, SignCounter
29
30raises InterfaceError
31
32is
33
34 Create returns mutable DispPerSignature;
35 ---Purpose : Creates a DispPerSignature with no SignCounter (by default,
36 -- produces only one packet)
37
38 SignCounter (me) returns mutable SignCounter;
39 ---Purpose : Returns the SignCounter used for splitting
40
41 SetSignCounter (me : mutable; sign : mutable SignCounter);
42 ---Purpose : Sets a SignCounter for sort
43 -- Remark : it is set to record lists of entities, not only counts
44
45 SignName (me) returns CString;
46 ---Purpose : Returns the name of the SignCounter, which caracterises the
47 -- sorting criterium for this Dispatch
48
49 Label (me) returns AsciiString from TCollection;
50 ---Purpose : Returns as Label, "One File per Signature <name>"
51
52 -- -- Evaluation -- --
53
54 LimitedMax (me; nbent : Integer; max : out Integer) returns Boolean
55 is redefined;
56 ---Purpose : Returns True, maximum count is given as <nbent>
57
58-- PacketsCount (me; G : Graph; count : out Integer) returns Boolean
59-- is not redefined : Packets must be first determined before counting
60
61 Packets (me; G : Graph; packs : in out SubPartsIterator)
62 raises InterfaceError;
63 ---Purpose : Computes the list of produced Packets. It defines Packets from
64 -- the SignCounter, which sirts the input Entities per Signature
65 -- (specific of the SignCounter).
66
67fields
68
69 thesign : SignCounter;
70
71end DispPerSignature;