annotate data/data.pro @ 537:3cc4b7cd2aa5

* Merge from one-fftdataserver-per-fftmodel branch. This bit of reworking (which is not described very accurately by the title of the branch) turns the MatrixFile object into something that either reads or writes, but not both, and separates the FFT file cache reader and writer implementations separately. This allows the FFT data server to have a single thread owning writers and one reader per "customer" thread, and for all locking to be vastly simplified and concentrated in the data server alone (because none of the classes it makes use of is used in more than one thread at a time). The result is faster and more trustworthy code.
author Chris Cannam
date Tue, 27 Jan 2009 13:25:10 +0000
parents 63b8ba45d953
children c603d9439b37
rev   line source
Chris@150 1 TEMPLATE = lib
Chris@150 2
Chris@320 3 SV_UNIT_PACKAGES = fftw3f sndfile mad quicktime id3tag oggz fishsound liblo
Chris@150 4 load(../sv.prf)
Chris@150 5
Chris@150 6 CONFIG += sv staticlib qt thread warn_on stl rtti exceptions
Chris@208 7 QT += network
Chris@392 8 QT -= gui
Chris@150 9
Chris@150 10 TARGET = svdata
Chris@150 11
Chris@320 12 DEPENDPATH += fft fileio model osc ..
Chris@320 13 INCLUDEPATH += . fft fileio model osc ..
Chris@150 14 OBJECTS_DIR = tmp_obj
Chris@150 15 MOC_DIR = tmp_moc
Chris@150 16
Chris@150 17 # Input
Chris@226 18 HEADERS += fft/FFTapi.h \
Chris@537 19 fft/FFTCacheReader.h \
Chris@537 20 fft/FFTCacheStorageType.h \
Chris@537 21 fft/FFTCacheWriter.h \
Chris@152 22 fft/FFTDataServer.h \
Chris@537 23 fft/FFTFileCacheReader.h \
Chris@537 24 fft/FFTFileCacheWriter.h \
Chris@159 25 fft/FFTMemoryCache.h \
Chris@150 26 fileio/AudioFileReader.h \
Chris@150 27 fileio/AudioFileReaderFactory.h \
Chris@150 28 fileio/BZipFileDevice.h \
Chris@465 29 fileio/CachedFile.h \
Chris@150 30 fileio/CodedAudioFileReader.h \
Chris@150 31 fileio/CSVFileReader.h \
Chris@150 32 fileio/CSVFileWriter.h \
Chris@392 33 fileio/CSVFormat.h \
Chris@150 34 fileio/DataFileReader.h \
Chris@150 35 fileio/DataFileReaderFactory.h \
Chris@150 36 fileio/FileReadThread.h \
Chris@317 37 fileio/FileSource.h \
Chris@297 38 fileio/MatchFileReader.h \
Chris@150 39 fileio/MatrixFile.h \
Chris@301 40 fileio/MIDIEvent.h \
Chris@150 41 fileio/MIDIFileReader.h \
Chris@301 42 fileio/MIDIFileWriter.h \
Chris@150 43 fileio/MP3FileReader.h \
Chris@150 44 fileio/OggVorbisFileReader.h \
Chris@297 45 fileio/PlaylistFileReader.h \
Chris@281 46 fileio/QuickTimeFileReader.h \
Chris@297 47 fileio/ResamplingWavFileReader.h \
Chris@150 48 fileio/WavFileReader.h \
Chris@150 49 fileio/WavFileWriter.h \
Chris@297 50 model/AggregateWaveModel.h \
Chris@297 51 model/AlignmentModel.h \
Chris@150 52 model/DenseThreeDimensionalModel.h \
Chris@150 53 model/DenseTimeValueModel.h \
Chris@152 54 model/EditableDenseThreeDimensionalModel.h \
Chris@152 55 model/FFTModel.h \
Chris@302 56 model/ImageModel.h \
Chris@437 57 model/IntervalModel.h \
Chris@305 58 model/Labeller.h \
Chris@150 59 model/Model.h \
Chris@413 60 model/ModelDataTableModel.h \
Chris@150 61 model/NoteModel.h \
Chris@407 62 model/PathModel.h \
Chris@150 63 model/PowerOfSqrtTwoZoomConstraint.h \
Chris@150 64 model/PowerOfTwoZoomConstraint.h \
Chris@150 65 model/RangeSummarisableTimeValueModel.h \
Chris@441 66 model/RegionModel.h \
Chris@150 67 model/SparseModel.h \
Chris@150 68 model/SparseOneDimensionalModel.h \
Chris@150 69 model/SparseTimeValueModel.h \
Chris@150 70 model/SparseValueModel.h \
Chris@420 71 model/TabularModel.h \
Chris@150 72 model/TextModel.h \
Chris@175 73 model/WaveFileModel.h \
Chris@320 74 model/WritableWaveFileModel.h \
Chris@320 75 osc/OSCMessage.h \
Chris@320 76 osc/OSCQueue.h
Chris@226 77 SOURCES += fft/FFTapi.cpp \
Chris@226 78 fft/FFTDataServer.cpp \
Chris@537 79 fft/FFTFileCacheReader.cpp \
Chris@537 80 fft/FFTFileCacheWriter.cpp \
Chris@159 81 fft/FFTMemoryCache.cpp \
Chris@175 82 fileio/AudioFileReader.cpp \
Chris@150 83 fileio/AudioFileReaderFactory.cpp \
Chris@150 84 fileio/BZipFileDevice.cpp \
Chris@465 85 fileio/CachedFile.cpp \
Chris@150 86 fileio/CodedAudioFileReader.cpp \
Chris@150 87 fileio/CSVFileReader.cpp \
Chris@150 88 fileio/CSVFileWriter.cpp \
Chris@392 89 fileio/CSVFormat.cpp \
Chris@150 90 fileio/DataFileReaderFactory.cpp \
Chris@150 91 fileio/FileReadThread.cpp \
Chris@317 92 fileio/FileSource.cpp \
Chris@297 93 fileio/MatchFileReader.cpp \
Chris@150 94 fileio/MatrixFile.cpp \
Chris@150 95 fileio/MIDIFileReader.cpp \
Chris@301 96 fileio/MIDIFileWriter.cpp \
Chris@150 97 fileio/MP3FileReader.cpp \
Chris@150 98 fileio/OggVorbisFileReader.cpp \
Chris@297 99 fileio/PlaylistFileReader.cpp \
Chris@281 100 fileio/QuickTimeFileReader.cpp \
Chris@297 101 fileio/ResamplingWavFileReader.cpp \
Chris@150 102 fileio/WavFileReader.cpp \
Chris@150 103 fileio/WavFileWriter.cpp \
Chris@297 104 model/AggregateWaveModel.cpp \
Chris@297 105 model/AlignmentModel.cpp \
Chris@150 106 model/DenseTimeValueModel.cpp \
Chris@152 107 model/EditableDenseThreeDimensionalModel.cpp \
Chris@152 108 model/FFTModel.cpp \
Chris@150 109 model/Model.cpp \
Chris@413 110 model/ModelDataTableModel.cpp \
Chris@150 111 model/PowerOfSqrtTwoZoomConstraint.cpp \
Chris@150 112 model/PowerOfTwoZoomConstraint.cpp \
Chris@297 113 model/RangeSummarisableTimeValueModel.cpp \
Chris@175 114 model/WaveFileModel.cpp \
Chris@320 115 model/WritableWaveFileModel.cpp \
Chris@320 116 osc/OSCMessage.cpp \
Chris@320 117 osc/OSCQueue.cpp