subsurface/qt-models
Berthold Stoeger 27dbdd35c6 core: turn event-list of divecomputer into std::vector<>
This is a rather long commit, because it refactors lots of the event
code from pointer to value semantics: pointers to entries in an
std::vector<> are not stable, so better use indexes.

To step through the event-list at diven time stamps, add *_loop classes,
which encapsulate state that had to be manually handled before by
the caller. I'm not happy about the interface, but it tries to
mirror the one we had before.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp
completionmodels.h
cylindermodel.cpp core: use std::vector<> to store divecomputer samples 2024-08-13 19:28:30 +02:00
cylindermodel.h
divecomputerextradatamodel.cpp core: convert dive computer extra data to C++ 2024-08-13 19:28:30 +02:00
divecomputerextradatamodel.h core: convert dive computer extra data to C++ 2024-08-13 19:28:30 +02:00
diveimportedmodel.cpp divelog: turn owning-pointers into unique_ptr<>s 2024-08-13 19:28:30 +02:00
diveimportedmodel.h
divelocationmodel.cpp core: move get_distance() from divesite.cpp to units.cpp 2024-08-13 19:28:30 +02:00
divelocationmodel.h core: replace divesite_table_t by a vector of std::unique_ptr<>s 2024-08-13 19:28:30 +02:00
divepicturemodel.cpp
divepicturemodel.h
diveplannermodel.cpp core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
diveplannermodel.h
divesiteimportmodel.cpp import: initialize DiveSiteImportModel in constructor 2024-08-13 19:28:30 +02:00
divesiteimportmodel.h import: initialize DiveSiteImportModel in constructor 2024-08-13 19:28:30 +02:00
divesummarymodel.cpp
divesummarymodel.h
divetripmodel.cpp core: convert divesite strings to std::string 2024-08-13 19:28:30 +02:00
divetripmodel.h
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp
filtermodels.h
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp map: use value semantics for MapLocation 2024-08-13 19:28:30 +02:00
maplocationmodel.h map: use value semantics for MapLocation 2024-08-13 19:28:30 +02:00
messagehandlermodel.cpp
messagehandlermodel.h
mobilelistmodel.cpp
mobilelistmodel.h
models.cpp
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h