dataservice/databuffer.cpp

19 lines
345 B
C++

#include "databuffer.h"
DataBuffer::DataBuffer(const nix::DataArray &array) : arrayId(array.id()), minRange(0.0), maxRange(0.0)
{
buffer = new QVector<QPointF>;
}
DataBuffer::~DataBuffer() {
delete buffer;
}
double DataBuffer::rangeMaximum() {
return rangeMax;
}
void DataBuffer::rangeMaximum(double max) {
rangeMax = max;
}