X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtGetConfigServerWt.cxx;fp=wt%2Fbbtk_wt_PKG%2Fsrc%2FbbwtGetConfigServerWt.cxx;h=ba03be33e0ce586518d6d94cfcfc080d4826c66b;hb=0aca619f319ce0cf836ff7735740704b1db4de93;hp=0000000000000000000000000000000000000000;hpb=6575e8694c2f1c0d56d5acc00d8bb329f53eb65a;p=creaWT.git diff --git a/wt/bbtk_wt_PKG/src/bbwtGetConfigServerWt.cxx b/wt/bbtk_wt_PKG/src/bbwtGetConfigServerWt.cxx new file mode 100644 index 0000000..ba03be3 --- /dev/null +++ b/wt/bbtk_wt_PKG/src/bbwtGetConfigServerWt.cxx @@ -0,0 +1,77 @@ +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +#include "bbwtGetConfigServerWt.h" +#include "bbwtPackage.h" +#include "bbtkWtBlackBox.h" + +namespace bbwt +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(wt,GetConfigServerWt) +BBTK_BLACK_BOX_IMPLEMENTATION(GetConfigServerWt,bbtk::AtomicBlackBox); +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +void GetConfigServerWt::Process() +{ + +// 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 = " <