git-svn-id: svn://db.shs.com.ru/libs@353 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -73,10 +73,11 @@ public:
|
||||
XType(const CDType & cdt = CDType());
|
||||
void setXMode(XMode mode) {mode_ = mode;}
|
||||
void setAvg(int avg) {avg_size = avg;}
|
||||
double currentValue() const {if (history.isEmpty()) return 0; return history.back();}
|
||||
double currentValue() const {return last_val;}
|
||||
|
||||
private:
|
||||
PIVector<double> history;
|
||||
double last_val;
|
||||
int avg_size;
|
||||
XMode mode_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user