[traffic] Handle removed segments or eased traffic impact

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-06-15 20:42:48 +03:00
parent f31541efb2
commit 26aa5e5f54
4 changed files with 41 additions and 5 deletions

View File

@@ -394,6 +394,10 @@ private:
* @brief Processes new traffic data.
*
* The new per-MWM colorings (preprocessed traffic information) are taken from `m_allMmColoring`.
* `m_allMwmColoring` is rebuilt from per-message colorings in `m_messageCache` as needed.
*
* This method is normally called from the traffic worker thread. Test tools may also call it from
* other threads.
*/
void OnTrafficDataUpdate();