X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FBilatTools_CPP%2Fsrc%2Fcore%2Ftools%2Fheader%2FVariateurI.h;fp=WCudaMSE%2FBilatTools_CPP%2Fsrc%2Fcore%2Ftools%2Fheader%2FVariateurI.h;h=799eda201d3f118d682b0cf1da69eadbc1fa09ac;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_CPP/src/core/tools/header/VariateurI.h b/WCudaMSE/BilatTools_CPP/src/core/tools/header/VariateurI.h new file mode 100755 index 0000000..799eda2 --- /dev/null +++ b/WCudaMSE/BilatTools_CPP/src/core/tools/header/VariateurI.h @@ -0,0 +1,54 @@ +#ifndef VARIATEUR_I_H_ +#define VARIATEUR_I_H_ + +#include "IntervalI_CPU.h" + +using namespace cpu; + +/** + * I pour Int + */ +class VariateurI + { + public: + + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + VariateurI(const IntervalI& range, int dt); + VariateurI(); + virtual ~VariateurI(); + + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + public: + + int varierAndGet(); + int get(); + + /*--------------------------------------*\ + |* Attributs *| + \*-------------------------------------*/ + + private: + + // Input + int tMin; + int tMax; + int dt; + + // tools + int t; + bool isCroisssantPhase; + + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/