Commit graph

377 commits

Author SHA1 Message Date
Dan Paulat
bb31bdfc00 Fix refresh if the product time is unknown to the product manager (expired product manager) 2023-04-12 23:24:04 -05:00
Dan Paulat
f1a5d4a744 Fix reload of expired (garbage collected) live data 2023-04-11 22:46:11 -05:00
Dan Paulat
df2474c383 Display expired data as soon as it's reloaded 2023-04-09 09:26:51 -05:00
Dan Paulat
16044efbf3 Updating refresh timer logic to be more robust
- When re-enabling refresh, base new refresh time off existing data when any data is found, not just new data
2023-04-08 18:44:07 -05:00
Dan Paulat
5fbb748328 Use weak_ptr to hold product manager records
- When selecting a product that's expired, it successfully refreshes the data, but doesn't display unless selected again
- When old data is downloaded, the refresh timer starts at 15 seconds, even if the newest data says the timer should be longer
- Selecting a product should update the recent lists
2023-04-08 01:11:36 -05:00
Dan Paulat
871cae68dd Add Radar Product Manager debug dump
- Allows visibility of currently loaded products
2023-04-06 23:33:39 -05:00
Dan Paulat
6e10ca88d5 Associate product refresh with a uuid
Allows product manager to track which map widgets have enabled which product refreshes
2023-04-01 00:46:29 -05:00
Dan Paulat
e75666d7a2 Remove 30 hour filter on event history 2023-02-19 16:04:39 -06:00
Dan Paulat
90c8c0183a USe a common default geodesic object instead of duplicate copies.
All used functions are constant, and don't require unique instantiations for thread safety.
2023-02-19 15:16:34 -06:00
Dan Paulat
911226c166 Updating most dependencies to latest, holding back libcurl for compatibility with cpr 2023-01-16 22:19:22 -06:00
Dan Paulat
5c793e07d8 About dialog 2023-01-08 00:50:49 -06:00
Dan Paulat
6b90c5471d Save settings changes functionality 2022-12-23 00:09:01 -06:00
Dan Paulat
891b6c839f Inheriting MapSettings and PaletteSettings from SettingsCategory, updating SettingsManager initialization 2022-12-18 08:45:05 -06:00
Dan Paulat
c93e776137 Inheriting GeneralSettings from SettingsCategory, making generic read/write JSON functions 2022-12-17 23:05:00 -06:00
Dan Paulat
ca044850fa Apply settings to font loading 2022-11-30 00:30:05 -06:00
Dan Paulat
9684aa4cdc Replacing ImGui Manager with ImGui Model 2022-11-27 23:47:55 -06:00
Dan Paulat
0f8b8d73f9 Use ImGui Manager to create contexts 2022-11-27 11:01:35 -06:00
Dan Paulat
ee2ec329da Add ImGui Manager to manage creation and deletion of contexts 2022-11-27 10:27:30 -06:00
Dan Paulat
fef3c597d0 ImGui unique contexts 2022-11-26 21:46:57 -06:00
Dan Paulat
cd01bb70b6 Add imgui debug window, still need to use unique contexts 2022-11-26 00:27:35 -06:00
Dan Paulat
dd1b4f27c8 Connect ImGui render to QOpenGLWidgets 2022-11-20 22:12:05 -06:00
Dan Paulat
e0dceda2d2 Don't refresh text events until application is initialized (before signals are connected) 2022-11-16 00:12:03 -06:00
Dan Paulat
c7a69a76be Integrate Warnings Provider auto-refresh into Text Event Manager 2022-11-06 23:39:01 -06:00
Dan Paulat
c87a77795d County display for alerts, alert cleanup 2022-10-27 23:19:08 -05:00
Dan Paulat
2ac141ea1a Update to latest maplibre-gl-native, including rename from QMapboxGL to QMapLibreGL 2022-10-20 22:54:53 -05:00
Dan Paulat
ad7f3674d6 Alert dialog button logic, update dialog on message receipt 2022-10-16 23:29:59 -05:00
Dan Paulat
612874f830 Updating test product messages to expose additional details 2022-10-16 12:49:29 -05:00
Dan Paulat
1c5e0d51b7 Update alert signal to include message index, so messages aren't missed 2022-10-15 17:41:46 -05:00
Dan Paulat
fdd981899f Add additional alert display columns
- State, counties, start and end time
2022-10-14 23:41:25 -05:00
Dan Paulat
5cf9746e97 Extracting text event key type, and adding interface to text event manager 2022-10-13 06:58:53 -05:00
Dan Paulat
cc82c5b102 Adding initial text event manager 2022-10-12 00:13:41 -05:00
Dan Paulat
254fbbeb67 Emit signal from provider manager instead of radar product manager in async callback
Prevents application crash when exiting during refresh due to destroyed object reference
2022-10-09 08:35:27 -05:00
Dan Paulat
36eaea466e Garbage collect unused radar product manager instances 2022-10-09 00:27:54 -05:00
Dan Paulat
5dd1a327c8 Allow radar product manager to be updated in a view 2022-10-08 23:06:46 -05:00
Dan Paulat
71d873f4b4 Populate default texture atlas 2022-10-05 22:42:06 -05:00
Dan Paulat
bf6b3e3601 Select the latest product level 3 product available when switching products 2022-09-23 22:46:44 -05:00
Dan Paulat
06e33001f7 Radar Product Model missing initial signals from manager 2022-09-21 23:10:43 -05:00
Dan Paulat
4c4c93cad1 Connecting Radar Product Manager creation to Radar Product Model 2022-09-19 23:46:15 -05:00
Dan Paulat
c2e56b8e32 Add available products to Radar Product Manager 2022-09-06 08:05:51 -05:00
Dan Paulat
bcf2d7bffc Adding map settings 2022-06-08 23:38:44 -05:00
Dan Paulat
bb3b9094b8 Using shared_ptr for ProviderManager to prevent object lifetime issues 2022-06-04 08:16:47 -05:00
Dan Paulat
655e9d0634 Load level 3 data from AWS provider 2022-06-03 22:47:40 -05:00
Dan Paulat
780d13cefa Refactoring refresh capability to provider manager in preparation for level 3 refresh 2022-05-30 17:09:56 -05:00
Dan Paulat
5cfab59977 Don't continue to refresh level 2 data if no data is present 2022-05-30 10:55:52 -05:00
Dan Paulat
c5c54fbfa2 Refactoring AWS level 2 data provider, pushing up common functions 2022-05-30 00:53:22 -05:00
Dan Paulat
ccfceb6605 Load latest record by default when selecting level 2 product 2022-05-29 17:39:38 -05:00
Dan Paulat
eb576c5172 Add boost steady_timer for refresh, and application cleanup 2022-05-28 16:58:07 -05:00
Dan Paulat
000b6cbd86 Retrieve level 2 products from data provider 2022-05-28 02:22:37 -05:00
Dan Paulat
078b9c407c Adding level 2 data provider to product manager 2022-05-27 16:28:20 -05:00
Dan Paulat
23337b3b21 Use common map utility to get radar product record 2022-05-23 22:32:22 -05:00