00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __CL_SubRange__
00021 #define __CL_SubRange__
00022
00023 #include "CL_API.h"
00024 #include "CL_Sequence.h"
00025
00026 class CL_API CL_SubRange
00027 {
00028
00029 public:
00030
00031 CL_SubRange();
00032 ~CL_SubRange();
00033
00034 void set(float s, float p, float r, float e, float sc,
00035 CL_BlendFunction rise, CL_BlendFunction fall);
00036 float getEffect(float index) const;
00037
00038 private:
00039
00040 void sort(void);
00041
00042 float myStart;
00043 float myPeak;
00044 float myRelease;
00045 float myEnd;
00046 float myScale;
00047
00048 CL_BlendFunction myRise;
00049 CL_BlendFunction myFall;
00050
00051 };
00052
00053
00054 #endif
00055