Mercurial > hg > svcore
comparison data/fileio/CSVFileReader.cpp @ 1651:7a56bb85030f single-point
Introduce deferred notifier, + start converting sparse time-value model (perhaps we should rename it too)
author | Chris Cannam |
---|---|
date | Mon, 18 Mar 2019 14:17:20 +0000 |
parents | 1cc9a0d4b1b6 |
children | 5b7b01da430a |
comparison
equal
deleted
inserted
replaced
1650:bbfb5a1e4b84 | 1651:7a56bb85030f |
---|---|
440 SparseOneDimensionalModel::Point point(frameNo, label); | 440 SparseOneDimensionalModel::Point point(frameNo, label); |
441 model1->addPoint(point); | 441 model1->addPoint(point); |
442 | 442 |
443 } else if (modelType == CSVFormat::TwoDimensionalModel) { | 443 } else if (modelType == CSVFormat::TwoDimensionalModel) { |
444 | 444 |
445 SparseTimeValueModel::Point point(frameNo, value, label); | 445 Event point(frameNo, value, label); |
446 model2->addPoint(point); | 446 model2->add(point); |
447 | 447 |
448 } else if (modelType == CSVFormat::TwoDimensionalModelWithDuration) { | 448 } else if (modelType == CSVFormat::TwoDimensionalModelWithDuration) { |
449 | 449 |
450 Event region(frameNo, value, duration, label); | 450 Event region(frameNo, value, duration, label); |
451 model2a->add(region); | 451 model2a->add(region); |