subsurface/commands
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
..
CMakeLists.txt undo: add device related undo commands 2020-10-25 13:59:04 -07:00
command.cpp core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
command.h core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
command_base.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_base.h core: make owning pointers a top-level features 2023-04-16 20:23:59 +02:00
command_device.cpp core: turn string data in struct divecomputer into std::string 2024-08-13 19:28:30 +02:00
command_device.h undo/device: adjust device management infrastructure 2021-08-18 13:22:02 -07:00
command_divelist.cpp core: add constructor/destructor pairs to dive and divecomputer 2024-08-13 19:28:30 +02:00
command_divelist.h core: add constructor/destructor pairs to dive and divecomputer 2024-08-13 19:28:30 +02:00
command_divesite.cpp core: move get_same_dive_site() into dive_site_table class 2024-08-13 19:28:30 +02:00
command_divesite.h core: replace divesite_table_t by a vector of std::unique_ptr<>s 2024-08-13 19:28:30 +02:00
command_edit.cpp core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
command_edit.h core: add constructor/destructor pairs to dive and divecomputer 2024-08-13 19:28:30 +02:00
command_edit_trip.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_edit_trip.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_event.cpp core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
command_event.h core: turn event-list of divecomputer into std::vector<> 2024-08-13 19:28:30 +02:00
command_filter.cpp core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_filter.h core: port filterpreset.cpp to std::string 2024-03-10 11:01:42 +13:00
command_pictures.cpp cleanup: pass location_t as value to divesite functions 2024-08-13 19:28:30 +02:00
command_pictures.h core: convert taxonomy.c to C++ 2024-08-13 19:28:30 +02:00