1 #include "bbPackRecalageCalculateVectorBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
6 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,CalculateVectorBox)
7 BBTK_BLACK_BOX_IMPLEMENTATION(CalculateVectorBox,bbtk::AtomicBlackBox);
8 void CalculateVectorBox::Process()
11 // THE MAIN PROCESSING METHOD BODY
12 // Here we simply set the input 'In' value to the output 'Out'
13 // And print out the output value
14 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
15 // void bbSet{Input|Output}NAME(const TYPE&)
16 // const TYPE& bbGet{Input|Output}NAME() const
18 // * NAME is the name of the input/output
19 // (the one provided in the attribute 'name' of the tag 'input')
20 // * TYPE is the C++ type of the input/output
21 // (the one provided in the attribute 'type' of the tag 'input')
22 //bbSetOutputOut( bbGetInputIn() );
23 //std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
26 void CalculateVectorBox::bbUserSetDefaultValues()
29 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
30 // Here we initialize the input 'In' to 0
34 void CalculateVectorBox::bbUserInitializeProcessing()
37 // THE INITIALIZATION METHOD BODY :
39 // but this is where you should allocate the internal/output pointers
44 void CalculateVectorBox::bbUserFinalizeProcessing()
47 // THE FINALIZATION METHOD BODY :
49 // but this is where you should desallocate the internal/output pointers
54 // EO namespace bbPackRecalage