2 // 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)
4 #ifndef __bbstdSpin_h_INCLUDED__
5 #define __bbstdSpin_h_INCLUDED__
7 #include "bbstd_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
14 class bbstd_EXPORT Spin
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(Spin,bbtk::AtomicBlackBox);
20 // 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)
22 // BBTK_DECLARE_INPUT(In,double);
23 BBTK_DECLARE_INPUT(Loop,bool);
24 BBTK_DECLARE_INPUT(Step,double);
25 BBTK_DECLARE_INPUT(Start,double);
26 BBTK_DECLARE_INPUT(End,double);
27 BBTK_DECLARE_OUTPUT(Out,double);
28 BBTK_PROCESS(Process);
33 // 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)
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Spin,bbtk::AtomicBlackBox);
39 BBTK_AUTHOR("InfoDev");
40 BBTK_DESCRIPTION("Automatic counter");
41 BBTK_CATEGORY("empty");
43 BBTK_INPUT(Spin,Loop,"(default true) true/false",bool,"");
44 BBTK_INPUT(Spin,Step,"(default 1) step in each BoxExecute",double,"");
45 BBTK_INPUT(Spin,Start,"(default 0) Start range",double,"");
46 BBTK_INPUT(Spin,End,"(default 100) End range",double,"");
48 BBTK_OUTPUT(Spin,Out,"Internar count",double,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(Spin);
52 // 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)
57 #endif // __bbstdSpin_h_INCLUDED__