* @brief Rebuilds the dataset reference map after the frame layout has changed. * Any push_back/erase on m_lastFrame.groups shifts elements and dangles the * &dataset pointers stored here, so every such mutation must call this; the * early-out guards buildDatasetReferences(), which asserts on an empty frame. */
| 1912 | * early-out guards buildDatasetReferences(), which asserts on an empty frame. |
| 1913 | */ |
| 1914 | void UI::Dashboard::rebuildDatasetReferences() |
| 1915 | { |
| 1916 | m_datasetReferences.clear(); |
| 1917 | m_valuePushes.clear(); |
| 1918 | |
| 1919 | if (m_lastFrame.groups.empty()) |
| 1920 | return; |
| 1921 | |
| 1922 | buildDatasetReferences(); |
| 1923 | buildValuePushes(); |
| 1924 | } |
| 1925 | |
| 1926 | /** |
| 1927 | * @brief Resolves one dataset's propagation targets from m_datasetReferences. |