]> Creatis software - bbtk.git/blob - kernel/appli/bbCreateBlackBox/xml-templates/std-template.xml
Create Black Box bbs + .bat + Bug interface Windows
[bbtk.git] / kernel / appli / bbCreateBlackBox / xml-templates / std-template.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="__BLACKBOXNAME__">
4
5   <author>__AUTHOR__</author>
6   <description>__DESCRIPTION__</description>
7   <category>__CategoryBlackBox__</category>
8
9   <input name="In1" type="double" description="First number to add"/>
10   <input name="In2" type="double" description="Second number to add"/>
11   <output name="Out" type="double" description="Result"/>
12
13   <process><PRE>
14     bbSetOutputOut( bbGetInputIn1() + bbGetInputIn2() );
15   </PRE></process>
16   
17   <constructor><PRE>
18     bbSetInputIn1(0);
19     bbSetInputIn2(0);
20     bbSetOutputOut(0);
21   </PRE></constructor>    
22
23 </blackbox>
24