Mercurial > hg > svcore
comparison data/model/PathModel.h @ 1675:6804af71b7be osc-script
Write path points
author | Chris Cannam |
---|---|
date | Thu, 28 Mar 2019 10:39:02 +0000 |
parents | dfcd05e8bd2f |
children | f97d64b8674f |
comparison
equal
deleted
inserted
replaced
1674:69ab62d378bf | 1675:6804af71b7be |
---|---|
177 .arg("true") // always true after model reaches 100% - | 177 .arg("true") // always true after model reaches 100% - |
178 // subsequent points are always notified | 178 // subsequent points are always notified |
179 .arg(getObjectExportId(&m_points)) | 179 .arg(getObjectExportId(&m_points)) |
180 .arg(extraAttributes)); | 180 .arg(extraAttributes)); |
181 | 181 |
182 | 182 out << indent << QString("<dataset id=\"%1\" dimensions=\"2\">\n") |
183 .arg(getObjectExportId(&m_points)); | |
184 | |
185 for (PathPoint p: m_points) { | |
186 p.toXml(out, indent + " ", ""); | |
187 } | |
188 | |
189 out << indent << "</dataset>\n"; | |
183 } | 190 } |
184 | 191 |
185 protected: | 192 protected: |
186 sv_samplerate_t m_sampleRate; | 193 sv_samplerate_t m_sampleRate; |
187 int m_resolution; | 194 int m_resolution; |