#include <WritableWaveFileModel.h>
Inherits RangeSummarisableTimeValueModel.
Inheritance diagram for WritableWaveFileModel:


Definition at line 24 of file WritableWaveFileModel.h.
Public Types | |
| typedef std::vector< Range > | RangeBlock |
Public Slots | |
| void | aboutToDelete () |
| void | sourceModelAboutToBeDeleted () |
Signals | |
| void | modelChanged () |
| Emitted when a model has been edited (or more data retrieved from cache, in the case of a cached model that generates slowly). | |
| void | modelChanged (size_t startFrame, size_t endFrame) |
| Emitted when a model has been edited (or more data retrieved from cache, in the case of a cached model that generates slowly). | |
| void | completionChanged () |
| Emitted when some internal processing has advanced a stage, but the model has not changed externally. | |
| void | alignmentCompletionChanged () |
| Emitted when the completion percentage changes for the calculation of this model's alignment model. | |
| void | aboutToBeDeleted () |
| Emitted when something notifies this model (through calling aboutToDelete() that it is about to delete it. | |
Public Member Functions | |
| WritableWaveFileModel (size_t sampleRate, size_t channels, QString path="") | |
| ~WritableWaveFileModel () | |
| virtual bool | addSamples (float **samples, size_t count) |
| Call addSamples to append a block of samples to the end of the file. | |
| bool | isOK () const |
| Return true if the model was constructed successfully. | |
| bool | isReady (int *) const |
| Return true if the model has finished loading or calculating all its data, for a model that is capable of calculating in a background thread. | |
| virtual void | setCompletion (int completion) |
| virtual int | getCompletion () const |
| const ZoomConstraint * | getZoomConstraint () const |
| If this model imposes a zoom constraint, i.e. | |
| size_t | getFrameCount () const |
| size_t | getChannelCount () const |
| Return the number of distinct channels for this model. | |
| size_t | getSampleRate () const |
| Return the frame rate in frames per second. | |
| virtual Model * | clone () const |
| Return a copy of this model. | |
| float | getValueMinimum () const |
| Return the minimum possible value found in this model type. | |
| float | getValueMaximum () const |
| Return the minimum possible value found in this model type. | |
| virtual size_t | getStartFrame () const |
| Return the first audio frame spanned by the model. | |
| virtual size_t | getEndFrame () const |
| Return the last audio frame spanned by the model. | |
| void | setStartFrame (size_t startFrame) |
| virtual size_t | getData (int channel, size_t start, size_t count, float *buffer) const |
| Get the specified set of samples from the given channel of the model in single-precision floating-point format. | |
| virtual size_t | getData (int channel, size_t start, size_t count, double *buffer) const |
| Get the specified set of samples from the given channel of the model in double-precision floating-point format. | |
| virtual size_t | getData (size_t fromchannel, size_t tochannel, size_t start, size_t count, float **buffer) const |
| Get the specified set of samples from given contiguous range of channels of the model in single-precision floating-point format. | |
| virtual size_t | getSummaryBlockSize (size_t desired) const |
| virtual void | getSummaries (size_t channel, size_t start, size_t count, RangeBlock &ranges, size_t &blockSize) const |
| virtual Range | getSummary (size_t channel, size_t start, size_t count) const |
| Return the range from the given start frame, corresponding to the given number of underlying sample frames, summarised at a block size equal to the distance between start and end frames. | |
| QString | getTypeName () const |
| Return the type of the model. | |
| virtual void | toXml (QTextStream &out, QString indent="", QString extraAttributes="") const |
| Stream this exportable object out to XML on a text stream. | |
| virtual void | getSummaries (size_t channel, size_t start, size_t count, RangeBlock &ranges, size_t &blockSize) const=0 |
| Return ranges from the given start frame, corresponding to the given number of underlying sample frames, summarised at the given block size. | |
| virtual size_t | getNativeRate () const |
| Return the frame rate of the underlying material, if the model itself has already been resampled. | |
| virtual QString | getTitle () const |
| Return the "work title" of the model, if known. | |
| virtual QString | getMaker () const |
| Return the "artist" or "maker" of the model, if known. | |
| virtual QString | getLocation () const |
| Return the location of the data in this model (e.g. | |
| virtual Model * | getSourceModel () const |
| If this model was derived from another, return the model it was derived from. | |
| virtual void | setSourceModel (Model *model) |
| Set the source model for this model. | |
| virtual void | setAlignment (AlignmentModel *alignment) |
| Specify an aligment between this model's timeline and that of a reference model. | |
| virtual const Model * | getAlignmentReference () const |
| Return the reference model for the current alignment timeline, if any. | |
| virtual size_t | alignToReference (size_t frame) const |
| Return the frame number of the reference model that corresponds to the given frame number in this model. | |
| virtual size_t | alignFromReference (size_t referenceFrame) const |
| Return the frame number in this model that corresponds to the given frame number of the reference model. | |
| virtual int | getAlignmentCompletion () const |
| Return the completion percentage for the alignment model: 100 if there is no alignment model or it has been entirely calculated, or less than 100 if it is still being calculated. | |
| virtual QString | toDelimitedDataString (QString) const |
| virtual QString | toXmlString (QString indent="", QString extraAttributes="") const |
| Convert this exportable object to XML in a string. | |
Static Public Member Functions | |
| static QString | encodeEntities (QString) |
| static QString | encodeColour (QColor) |
| static int | getObjectExportId (const void *) |
Static Public Attributes | |
| static const int | COMPLETION_UNKNOWN |
Protected Attributes | |
| WaveFileModel * | m_model |
| WavFileWriter * | m_writer |
| WavFileReader * | m_reader |
| size_t | m_sampleRate |
| size_t | m_channels |
| size_t | m_frameCount |
| size_t | m_startFrame |
| int | m_completion |
| Model * | m_sourceModel |
| AlignmentModel * | m_alignment |
| bool | m_aboutToDelete |
typedef std::vector<Range> RangeSummarisableTimeValueModel::RangeBlock [inherited] |
Definition at line 51 of file RangeSummarisableTimeValueModel.h.
| WritableWaveFileModel::WritableWaveFileModel | ( | size_t | sampleRate, | |
| size_t | channels, | |||
| QString | path = "" | |||
| ) |
Definition at line 32 of file WritableWaveFileModel.cpp.
References WavFileWriter::getError(), TempDirectory::getInstance(), WavFileWriter::getPath(), WaveFileModel::isOK(), WavFileWriter::isOK(), m_model, m_reader, m_startFrame, m_writer, Model::modelChanged(), and WaveFileModel::setStartFrame().
| WritableWaveFileModel::~WritableWaveFileModel | ( | ) |
Definition at line 89 of file WritableWaveFileModel.cpp.
| bool WritableWaveFileModel::addSamples | ( | float ** | samples, | |
| size_t | count | |||
| ) | [virtual] |
Call addSamples to append a block of samples to the end of the file.
Caller should also call setCompletion to update the progress of this file, if it has a known end point, and should call setCompletion(100) when the file has been written.
Definition at line 104 of file WritableWaveFileModel.cpp.
References AudioFileReader::getChannelCount(), WavFileWriter::getError(), m_frameCount, m_reader, m_writer, WavFileReader::updateFrameCount(), and WavFileWriter::writeSamples().
| bool WritableWaveFileModel::isOK | ( | ) | const [virtual] |
Return true if the model was constructed successfully.
Classes that refer to the model should always test this before use.
Implements Model.
Definition at line 138 of file WritableWaveFileModel.cpp.
References WavFileWriter::isOK(), and m_writer.
| bool WritableWaveFileModel::isReady | ( | int * | completion | ) | const [virtual] |
Return true if the model has finished loading or calculating all its data, for a model that is capable of calculating in a background thread.
The default implementation is appropriate for a thread that does not background any work but carries out all its calculation from the constructor or accessors.
If "completion" is non-NULL, this function should return through it an estimated percentage value showing how far through the background operation it thinks it is (for progress reporting). If it has no way to calculate progress, it may return the special value COMPLETION_UNKNOWN.
Reimplemented from Model.
Definition at line 146 of file WritableWaveFileModel.cpp.
References m_completion.
| void WritableWaveFileModel::setCompletion | ( | int | completion | ) | [virtual] |
Definition at line 153 of file WritableWaveFileModel.cpp.
References m_completion, m_reader, and WavFileReader::updateDone().
| virtual int WritableWaveFileModel::getCompletion | ( | ) | const [inline, virtual] |
| const ZoomConstraint* WritableWaveFileModel::getZoomConstraint | ( | ) | const [inline, virtual] |
If this model imposes a zoom constraint, i.e.
some limit to the set of resolutions at which its data can meaningfully be displayed, then return it.
Reimplemented from Model.
Definition at line 46 of file WritableWaveFileModel.h.
| size_t WritableWaveFileModel::getFrameCount | ( | ) | const |
Definition at line 162 of file WritableWaveFileModel.cpp.
References m_frameCount.
Referenced by getEndFrame().
| size_t WritableWaveFileModel::getChannelCount | ( | ) | const [inline, virtual] |
Return the number of distinct channels for this model.
Implements DenseTimeValueModel.
Definition at line 52 of file WritableWaveFileModel.h.
References m_channels.
| size_t WritableWaveFileModel::getSampleRate | ( | ) | const [inline, virtual] |
Return the frame rate in frames per second.
Implements Model.
Definition at line 53 of file WritableWaveFileModel.h.
References m_sampleRate.
| Model * WritableWaveFileModel::clone | ( | ) | const [virtual] |
Return a copy of this model.
If the model is not editable, this may be effectively a shallow copy. If the model is editable, however, this operation must properly copy all of the model's editable data.
In general this operation is not useful for non-editable dense models such as waveforms, because there may be no efficient copy operation implemented -- for such models it is better not to copy at all.
Caller owns the returned value.
Implements Model.
Definition at line 169 of file WritableWaveFileModel.cpp.
| float WritableWaveFileModel::getValueMinimum | ( | ) | const [inline, virtual] |
Return the minimum possible value found in this model type.
(That is, the minimum that would be valid, not the minimum actually found in a particular model).
Implements DenseTimeValueModel.
Definition at line 57 of file WritableWaveFileModel.h.
| float WritableWaveFileModel::getValueMaximum | ( | ) | const [inline, virtual] |
Return the minimum possible value found in this model type.
(That is, the minimum that would be valid, not the minimum actually found in a particular model).
Implements DenseTimeValueModel.
Definition at line 58 of file WritableWaveFileModel.h.
| virtual size_t WritableWaveFileModel::getStartFrame | ( | ) | const [inline, virtual] |
Return the first audio frame spanned by the model.
Implements Model.
Definition at line 60 of file WritableWaveFileModel.h.
References m_startFrame.
| virtual size_t WritableWaveFileModel::getEndFrame | ( | ) | const [inline, virtual] |
Return the last audio frame spanned by the model.
Implements Model.
Definition at line 61 of file WritableWaveFileModel.h.
References getFrameCount(), and m_startFrame.
| void WritableWaveFileModel::setStartFrame | ( | size_t | startFrame | ) |
Definition at line 97 of file WritableWaveFileModel.cpp.
References m_model, m_startFrame, and WaveFileModel::setStartFrame().
| size_t WritableWaveFileModel::getData | ( | int | channel, | |
| size_t | start, | |||
| size_t | count, | |||
| float * | buffer | |||
| ) | const [virtual] |
Get the specified set of samples from the given channel of the model in single-precision floating-point format.
Return the number of samples actually retrieved. If the channel is given as -1, mix all available channels and return the result.
Implements DenseTimeValueModel.
Definition at line 176 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WaveFileModel::getData(), and m_model.
| size_t WritableWaveFileModel::getData | ( | int | channel, | |
| size_t | start, | |||
| size_t | count, | |||
| double * | buffer | |||
| ) | const [virtual] |
Get the specified set of samples from the given channel of the model in double-precision floating-point format.
Return the number of samples actually retrieved. If the channel is given as -1, mix all available channels and return the result.
Implements DenseTimeValueModel.
Definition at line 184 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WaveFileModel::getData(), and m_model.
| size_t WritableWaveFileModel::getData | ( | size_t | fromchannel, | |
| size_t | tochannel, | |||
| size_t | start, | |||
| size_t | count, | |||
| float ** | buffer | |||
| ) | const [virtual] |
Get the specified set of samples from given contiguous range of channels of the model in single-precision floating-point format.
Return the number of sample frames actually retrieved.
Implements DenseTimeValueModel.
Definition at line 192 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WaveFileModel::getData(), and m_model.
| size_t WritableWaveFileModel::getSummaryBlockSize | ( | size_t | desired | ) | const [virtual] |
Implements RangeSummarisableTimeValueModel.
Definition at line 201 of file WritableWaveFileModel.cpp.
References WaveFileModel::getSummaryBlockSize(), and m_model.
| void WritableWaveFileModel::getSummaries | ( | size_t | channel, | |
| size_t | start, | |||
| size_t | count, | |||
| RangeBlock & | ranges, | |||
| size_t & | blockSize | |||
| ) | const [virtual] |
Definition at line 208 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WaveFileModel::getSummaries(), and m_model.
| WritableWaveFileModel::Range WritableWaveFileModel::getSummary | ( | size_t | channel, | |
| size_t | start, | |||
| size_t | count | |||
| ) | const [virtual] |
Return the range from the given start frame, corresponding to the given number of underlying sample frames, summarised at a block size equal to the distance between start and end frames.
Implements RangeSummarisableTimeValueModel.
Definition at line 218 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WaveFileModel::getSummary(), and m_model.
| QString WritableWaveFileModel::getTypeName | ( | ) | const [inline, virtual] |
Return the type of the model.
For display purposes only.
Reimplemented from RangeSummarisableTimeValueModel.
Definition at line 82 of file WritableWaveFileModel.h.
| void WritableWaveFileModel::toXml | ( | QTextStream & | out, | |
| QString | indent = "", |
|||
| QString | extraAttributes = "" | |||
| ) | const [virtual] |
Stream this exportable object out to XML on a text stream.
Reimplemented from Model.
Definition at line 225 of file WritableWaveFileModel.cpp.
References WaveFileModel::getChannelCount(), WavFileWriter::getPath(), m_model, m_writer, and Model::toXml().
| virtual void RangeSummarisableTimeValueModel::getSummaries | ( | size_t | channel, | |
| size_t | start, | |||
| size_t | count, | |||
| RangeBlock & | ranges, | |||
| size_t & | blockSize | |||
| ) | const [pure virtual, inherited] |
Return ranges from the given start frame, corresponding to the given number of underlying sample frames, summarised at the given block size.
duration / blockSize ranges should ideally be returned.
If the given block size is not supported by this model (according to its zoom constraint), also modify the blockSize parameter so as to return the block size that was actually obtained.
Referenced by WaveformLayer::getFeatureDescription(), and WaveformLayer::paint().
| virtual size_t Model::getNativeRate | ( | ) | const [inline, virtual, inherited] |
Return the frame rate of the underlying material, if the model itself has already been resampled.
Reimplemented in WaveFileModel.
Definition at line 67 of file Model.h.
References Model::getSampleRate().
Referenced by Pane::drawDurationAndRate().
| QString Model::getTitle | ( | ) | const [virtual, inherited] |
Return the "work title" of the model, if known.
Reimplemented in WaveFileModel.
Definition at line 150 of file Model.cpp.
References Model::getTitle(), and Model::m_sourceModel.
Referenced by Pane::drawWorkTitle(), and Model::getTitle().
| QString Model::getMaker | ( | ) | const [virtual, inherited] |
Return the "artist" or "maker" of the model, if known.
Reimplemented in WaveFileModel.
Definition at line 157 of file Model.cpp.
References Model::getMaker(), and Model::m_sourceModel.
Referenced by ModelDataModel::data(), Pane::drawWorkTitle(), and Model::getMaker().
| QString Model::getLocation | ( | ) | const [virtual, inherited] |
Return the location of the data in this model (e.g.
source URL). This should not normally be returned for editable models that have been edited.
Reimplemented in WaveFileModel.
Definition at line 164 of file Model.cpp.
References Model::getLocation(), and Model::m_sourceModel.
Referenced by ModelDataModel::data(), and Model::getLocation().
| virtual Model* Model::getSourceModel | ( | ) | const [inline, virtual, inherited] |
If this model was derived from another, return the model it was derived from.
The assumption is that the source model's alignment will also apply to this model, unless some other property (such as a specific alignment model set on this model) indicates otherwise.
Definition at line 143 of file Model.h.
References Model::m_sourceModel.
Referenced by View::checkProgress(), and Pane::paintEvent().
| void Model::setSourceModel | ( | Model * | model | ) | [virtual, inherited] |
Set the source model for this model.
Definition at line 49 of file Model.cpp.
References Model::aboutToBeDeleted(), Model::alignmentCompletionChanged(), Model::m_sourceModel, and Model::sourceModelAboutToBeDeleted().
Referenced by Document::addDerivedModel(), FeatureExtractionModelTransformer::FeatureExtractionModelTransformer(), and FFTModel::FFTModel().
| void Model::setAlignment | ( | AlignmentModel * | alignment | ) | [virtual, inherited] |
Specify an aligment between this model's timeline and that of a reference model.
The alignment model records both the reference and the alignment. This model takes ownership of the alignment model.
Definition at line 89 of file Model.cpp.
References Model::aboutToDelete(), Model::alignmentCompletionChanged(), Model::completionChanged(), and Model::m_alignment.
Referenced by Document::alignModel().
| const Model * Model::getAlignmentReference | ( | ) | const [virtual, inherited] |
Return the reference model for the current alignment timeline, if any.
Definition at line 101 of file Model.cpp.
References Model::getAlignmentReference(), AlignmentModel::getReferenceModel(), Model::m_alignment, and Model::m_sourceModel.
Referenced by Layer::alignFromReference(), Document::alignModel(), Layer::alignToReference(), Pane::drawAlignmentStatus(), View::getAligningModel(), and Model::getAlignmentReference().
| size_t Model::alignToReference | ( | size_t | frame | ) | const [virtual, inherited] |
Return the frame number of the reference model that corresponds to the given frame number in this model.
Definition at line 111 of file Model.cpp.
References Model::getEndFrame(), AlignmentModel::getReferenceModel(), Model::m_alignment, Model::m_sourceModel, and AlignmentModel::toReference().
Referenced by ViewManager::alignPlaybackFrameToReference(), View::alignToReference(), and Layer::alignToReference().
| size_t Model::alignFromReference | ( | size_t | referenceFrame | ) | const [virtual, inherited] |
Return the frame number in this model that corresponds to the given frame number of the reference model.
Definition at line 124 of file Model.cpp.
References AlignmentModel::fromReference(), Model::getEndFrame(), Model::m_alignment, and Model::m_sourceModel.
Referenced by View::alignFromReference(), Layer::alignFromReference(), ViewManager::alignReferenceToPlaybackFrame(), and View::getAlignedPlaybackFrame().
| int Model::getAlignmentCompletion | ( | ) | const [virtual, inherited] |
Return the completion percentage for the alignment model: 100 if there is no alignment model or it has been entirely calculated, or less than 100 if it is still being calculated.
Definition at line 136 of file Model.cpp.
References AlignmentModel::isReady(), Model::m_alignment, and Model::m_sourceModel.
Referenced by View::checkProgress(), and Pane::drawAlignmentStatus().
| virtual QString Model::toDelimitedDataString | ( | QString | ) | const [inline, virtual, inherited] |
Reimplemented in EditableDenseThreeDimensionalModel, SparseModel< PointType >, SparseModel< Note >, SparseModel< TextPoint >, SparseModel< ImagePoint >, SparseModel< TimeValuePoint >, SparseModel< OneDimensionalPoint >, and SparseModel< AlignmentModel::PathPoint >.
Definition at line 189 of file Model.h.
Referenced by CSVFileWriter::write().
| void Model::aboutToDelete | ( | ) | [slot, inherited] |
Definition at line 67 of file Model.cpp.
References Model::aboutToBeDeleted(), and Model::m_aboutToDelete.
Referenced by Document::releaseModel(), Model::setAlignment(), Document::setMainModel(), SpectrumLayer::setModel(), SpectrumLayer::setupFFT(), Document::~Document(), Model::~Model(), and SpectrumLayer::~SpectrumLayer().
| void Model::sourceModelAboutToBeDeleted | ( | ) | [slot, inherited] |
Reimplemented in FFTModel.
Definition at line 83 of file Model.cpp.
References Model::m_sourceModel.
Referenced by Model::setSourceModel().
| void Model::modelChanged | ( | ) | [signal, inherited] |
Emitted when a model has been edited (or more data retrieved from cache, in the case of a cached model that generates slowly).
Reimplemented in AggregateWaveModel, AlignmentModel, and WaveFileModel.
Referenced by SparseValueModel< TimeValuePoint >::addPoint(), SparseModel< PointType >::addPoint(), SparseModel< PointType >::clear(), SparseValueModel< TimeValuePoint >::deletePoint(), SparseModel< PointType >::deletePoint(), EditableDenseThreeDimensionalModel::setBinName(), EditableDenseThreeDimensionalModel::setBinNames(), EditableDenseThreeDimensionalModel::setColumn(), SparseModel< PointType >::setCompletion(), EditableDenseThreeDimensionalModel::setCompletion(), SparseModel< PointType >::setResolution(), and WritableWaveFileModel().
| void Model::modelChanged | ( | size_t | startFrame, | |
| size_t | endFrame | |||
| ) | [signal, inherited] |
Emitted when a model has been edited (or more data retrieved from cache, in the case of a cached model that generates slowly).
Reimplemented in AggregateWaveModel, AlignmentModel, and WaveFileModel.
| void Model::completionChanged | ( | ) | [signal, inherited] |
Emitted when some internal processing has advanced a stage, but the model has not changed externally.
Views should respond by updating any progress meters or other monitoring, but not refreshing the actual view.
Reimplemented in AggregateWaveModel, AlignmentModel, and WaveFileModel.
Referenced by Model::setAlignment(), SparseModel< PointType >::setCompletion(), and EditableDenseThreeDimensionalModel::setCompletion().
| void Model::alignmentCompletionChanged | ( | ) | [signal, inherited] |
Emitted when the completion percentage changes for the calculation of this model's alignment model.
Referenced by Model::setAlignment(), and Model::setSourceModel().
| void Model::aboutToBeDeleted | ( | ) | [signal, inherited] |
Emitted when something notifies this model (through calling aboutToDelete() that it is about to delete it.
Note that this depends on an external agent such as a Document object or owning model telling the model that it is about to delete it; there is nothing in the model to guarantee that this signal will be emitted before the actual deletion.
Referenced by Model::aboutToDelete(), and Model::setSourceModel().
| QString XmlExportable::toXmlString | ( | QString | indent = "", |
|
| QString | extraAttributes = "" | |||
| ) | const [virtual, inherited] |
Convert this exportable object to XML in a string.
The default implementation calls toXml and returns the result as a string. Do not override this unless you really know what you're doing.
Definition at line 25 of file XmlExportable.cpp.
References XmlExportable::toXml().
Referenced by LayerFactory::setLayerDefaultProperties().
| QString XmlExportable::encodeEntities | ( | QString | ) | [static, inherited] |
Definition at line 41 of file XmlExportable.cpp.
Referenced by AudioGenerator::getDefaultPlayPluginConfiguration(), SVFileReader::readPlugin(), Layer::toBriefXml(), WaveFileModel::toXml(), Transform::toXml(), TextPoint::toXml(), PluginXml::toXml(), Model::toXml(), Layer::toXml(), ImagePoint::toXml(), and Document::writeBackwardCompatibleDerivation().
| QString XmlExportable::encodeColour | ( | QColor | ) | [static, inherited] |
| int XmlExportable::getObjectExportId | ( | const void * | ) | [static, inherited] |
Definition at line 71 of file XmlExportable.cpp.
Referenced by FFTDataServer::generateFileBasename(), View::getTextLabelHeight(), Layer::toBriefXml(), SparseModel< PointType >::toXml(), Model::toXml(), Layer::toXml(), EditableDenseThreeDimensionalModel::toXml(), Document::toXml(), and Document::writeBackwardCompatibleDerivation().
WaveFileModel* WritableWaveFileModel::m_model [protected] |
Definition at line 89 of file WritableWaveFileModel.h.
Referenced by getData(), getSummaries(), getSummary(), getSummaryBlockSize(), setStartFrame(), toXml(), WritableWaveFileModel(), and ~WritableWaveFileModel().
WavFileWriter* WritableWaveFileModel::m_writer [protected] |
Definition at line 90 of file WritableWaveFileModel.h.
Referenced by addSamples(), isOK(), toXml(), WritableWaveFileModel(), and ~WritableWaveFileModel().
WavFileReader* WritableWaveFileModel::m_reader [protected] |
Definition at line 91 of file WritableWaveFileModel.h.
Referenced by addSamples(), setCompletion(), WritableWaveFileModel(), and ~WritableWaveFileModel().
size_t WritableWaveFileModel::m_sampleRate [protected] |
size_t WritableWaveFileModel::m_channels [protected] |
size_t WritableWaveFileModel::m_frameCount [protected] |
Definition at line 94 of file WritableWaveFileModel.h.
Referenced by addSamples(), and getFrameCount().
size_t WritableWaveFileModel::m_startFrame [protected] |
Definition at line 95 of file WritableWaveFileModel.h.
Referenced by getEndFrame(), getStartFrame(), setStartFrame(), and WritableWaveFileModel().
int WritableWaveFileModel::m_completion [protected] |
Definition at line 96 of file WritableWaveFileModel.h.
Referenced by getCompletion(), isReady(), and setCompletion().
const int Model::COMPLETION_UNKNOWN [static, inherited] |
Model* Model::m_sourceModel [protected, inherited] |
Definition at line 239 of file Model.h.
Referenced by Model::alignFromReference(), Model::alignToReference(), Model::getAlignmentCompletion(), Model::getAlignmentReference(), Model::getLocation(), Model::getMaker(), Model::getSourceModel(), Model::getTitle(), Model::setSourceModel(), Model::sourceModelAboutToBeDeleted(), and FFTModel::sourceModelAboutToBeDeleted().
AlignmentModel* Model::m_alignment [protected, inherited] |
Definition at line 240 of file Model.h.
Referenced by Model::alignFromReference(), Model::alignToReference(), Model::getAlignmentCompletion(), Model::getAlignmentReference(), Model::setAlignment(), and Model::~Model().
bool Model::m_aboutToDelete [protected, inherited] |
1.5.1