16 #ifndef _DENSE_TIME_VALUE_MODEL_H_ 17 #define _DENSE_TIME_VALUE_MODEL_H_ 65 virtual int getData(
int channel,
int start,
int count,
66 float *buffer)
const = 0;
75 virtual int getData(
int channel,
int start,
int count,
76 double *buffer)
const = 0;
83 virtual int getData(
int fromchannel,
int tochannel,
85 float **buffers)
const = 0;
87 virtual bool canPlay()
const {
return true; }
92 QString
getTypeName()
const {
return tr(
"Dense Time-Value"); }
virtual int getChannelCount() const =0
Return the number of distinct channels for this model.
virtual float getValueMinimum() const =0
Return the minimum possible value found in this model type.
virtual int getData(int channel, int start, int count, float *buffer) const =0
Get the specified set of samples from the given channel of the model in single-precision floating-poi...
virtual QString getDefaultPlayClipId() const
virtual bool canPlay() const
virtual QString toDelimitedDataStringSubset(QString delimiter, int f0, int f1) const
virtual ~DenseTimeValueModel()
Model is the base class for all data models that represent any sort of data on a time scale based on ...
virtual float getValueMaximum() const =0
Return the minimum possible value found in this model type.
Base class for models containing dense two-dimensional data (value against time).
QString getTypeName() const
Return the type of the model.