Revision: | 1.1 |
Committed: | Wed Apr 14 09:40:46 1999 UTC (26 years, 1 month ago) by williamc |
Content type: | text/html |
Branch: | MAIN |
CVS Tags: | ProtoEnd, V0_10_0, V0_10_0beta, V0_9_42, V0_9_41, V0_9_40, V0_9_39, V0_9_38, V0_9_37, V0_9_36, V0_9_35, V0_9_34, V0_9_33, V0_9_32, V0_9_31, V0_9_30, V0_9_29, V0_9_28, V0_9_27, V0_9_26, V0_9_25, V0_9_24, V0_9_23, V0_9_22, V0_9_21, V0_9_20, V0_9_19, V0_9_18, V0_9_17, V0_9_16, V0_9_15, V0_9_14, V0_9_13, V0_9_12, V0_9_11, V0_9_10, V0_9_9, V0_9_8, V0_9_7, V0_9_6, V0_9_5, V0_9_4, V0_9_3, V0_9_2, V0_9_1, V0_9 |
Branch point for: | V0_9branch |
Log Message: | Update Doc a little |
# | User | Rev | Content |
---|---|---|---|
1 | williamc | 1.1 | <! Style Sheet Header> |
2 | <html> | ||
3 | <head> | ||
4 | <title>SCRAM - Exporting Software Units</title> | ||
5 | <body> | ||
6 | <! End Style Sheet Header -----------Insert Text Here ---------------------> | ||
7 | <h1>Exporting Software Units</h1> | ||
8 | <hr> | ||
9 | This section describes how to configure a software unit for use by other | ||
10 | software units. This interface then provides functionality to the | ||
11 | <Use name=unit_name> tag specified elsewhere in the project. | ||
12 | <h2>Defining the Interface</h2> | ||
13 | The interface is defined in the BuildFile in the software unit. Anything | ||
14 | between <b><export></b> and <b></export></b> tags will be | ||
15 | taken as defining the interface.<p> | ||
16 | <p> | ||
17 | e.g A BuildFile in a SubSystem called CARF. | ||
18 | <font color=green> | ||
19 | <pre> | ||
20 | <export> | ||
21 | <lib name=G3Main> | ||
22 | <lib name=G3Event> | ||
23 | <lib name=Reco> | ||
24 | <lib name=G3SimEvent> | ||
25 | <lib name=G3Interface> | ||
26 | </export> | ||
27 | </pre> | ||
28 | </font> | ||
29 | <p> | ||
30 | Any file that then wishes to use the subsytem CARF simply has to add the | ||
31 | following line to their BuildFile. | ||
32 | <font color=green> | ||
33 | <pre> | ||
34 | <Use name=CARF> | ||
35 | </pre> | ||
36 | </font> | ||
37 | <p> | ||
38 | to get all the apporpriate CARF libraries.<p> | ||
39 | <! Style Sheet Footer ---------------Do not change anything after this line--> | ||
40 | <hr> | ||
41 | <table border=1 width=100%> | ||
42 | <td align=left> | ||
43 | <a href=mailto:Christopher.Williams@cern.ch | ||
44 | >Chris Williams</a> | ||
45 | </td> | ||
46 | <td align=center> | ||
47 | <script language="JavaScript"> | ||
48 | <!---//hide script from old browsers | ||
49 | document.write( "<br>Last updated "+ document.lastModified | ||
50 | ); | ||
51 | //end hiding contents ---> | ||
52 | </script> | ||
53 | </td> | ||
54 | <td align=right>Show <a href=/cgi-cmc/pagestat>Stats</a> | ||
55 | </td> | ||
56 | </table> | ||
57 | </body> </html> | ||
58 | <! End Style Sheet Footer> |