29 lines
429 B
C++
29 lines
429 B
C++
#ifndef DATABUFFER_H
|
|
#define DATABUFFER_H
|
|
|
|
#include <nix.hpp>
|
|
#include <QVector>
|
|
#include <QPointF>
|
|
|
|
class DataBuffer
|
|
{
|
|
public:
|
|
DataBuffer(const nix::DataArray &array);
|
|
~DataBuffer();
|
|
|
|
private:
|
|
std::string arrayId;
|
|
QVector<QPointF> *buffer;
|
|
double rangeMin, rangeMax;
|
|
|
|
public:
|
|
double rangeMaximum() const;
|
|
|
|
double rangeMinimum() const;
|
|
|
|
QVector<QPointF> * getBuffer();
|
|
|
|
};
|
|
|
|
#endif // DATABUFFER_H
|