00001
00015
00016
00017 #ifndef BREAKLINE_H
00018 #define BREAKLINE_H
00019
00020 #include "Line.h"
00021 #include <vector>
00022
00023 using std::vector;
00024
00025 class BreakLine : virtual public Line
00026 {
00027 public:
00029
00033 BreakLine (const float &sr=44100);
00034
00036 virtual ~BreakLine ();
00037
00039
00055 void addBrkPoint (const float &time, const float &value);
00056
00058
00064 virtual float outSig ();
00065
00066 protected:
00067 vector <float> _brkPoint;
00068 unsigned short _index;
00069 void breakPoint ();
00070 };
00071 #endif