X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fappli%2FbbCreateBlackBox%2Fxml-templates%2Fstd-template.xml;h=924e6c5fb8e9bf84b06f6b27de11c9297a246134;hb=HEAD;hp=b02c5509b8e11693f28cc14436b900bcca3bee88;hpb=2593029cb1c4a272c6502cc9abc82f980d479739;p=bbtk.git diff --git a/kernel/appli/bbCreateBlackBox/xml-templates/std-template.xml b/kernel/appli/bbCreateBlackBox/xml-templates/std-template.xml index b02c550..924e6c5 100644 --- a/kernel/appli/bbCreateBlackBox/xml-templates/std-template.xml +++ b/kernel/appli/bbCreateBlackBox/xml-templates/std-template.xml @@ -1,3 +1,30 @@ + + @@ -5,6 +32,7 @@ + __AUTHOR__ __DESCRIPTION__ __CATEGORY__ @@ -21,6 +49,7 @@ INPUTS/OUTPUTS DECLARATION --> + - -
+  
+  
+// THE MAIN PROCESSING METHOD BODY
+//   Here we simply set the input 'In' value to the output 'Out'
+//   And print out the output value
+// INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
+//    void bbSet{Input|Output}NAME(const TYPE&)
+//    const TYPE& bbGet{Input|Output}NAME() const 
+//    Where :
+//    * NAME is the name of the input/output
+//      (the one provided in the attribute 'name' of the tag 'input')
+//    * TYPE is the C++ type of the input/output
+//      (the one provided in the attribute 'type' of the tag 'input')
     bbSetOutputOut( bbGetInputIn() );
     std::cout << "Output value = " <
+  
+
- -
-    bbSetInputIn(0);
-  
- -
-  
- -
-  
- + +
+//  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
+//    Here we initialize the input 'In' to 0
+   bbSetInputIn(0);
+  
+
+ + + + +
+//  THE INITIALIZATION METHOD BODY :
+//    Here does nothing 
+//    but this is where you should allocate the internal/output pointers 
+//    if any 
+
+  
+
+ + +
+//  THE FINALIZATION METHOD BODY :
+//    Here does nothing 
+//    but this is where you should desallocate the internal/output pointers 
+//    if any
+  
+
+