* @brief Drops every pre-resolved hotpath push table (their pointers follow the layout). */
| 930 | * @brief Drops every pre-resolved hotpath push table (their pointers follow the layout). |
| 931 | */ |
| 932 | void UI::Dashboard::clearPushTables() |
| 933 | { |
| 934 | m_yLinePushes.clear(); |
| 935 | m_xLinePushes.clear(); |
| 936 | m_timePushes.clear(); |
| 937 | m_fftPushes.clear(); |
| 938 | m_gpsPushes.clear(); |
| 939 | m_valuePushes.clear(); |
| 940 | m_multiplotPushes.clear(); |
| 941 | m_yLinePushes.shrink_to_fit(); |
| 942 | m_xLinePushes.shrink_to_fit(); |
| 943 | m_timePushes.shrink_to_fit(); |
| 944 | m_fftPushes.shrink_to_fit(); |
| 945 | m_gpsPushes.shrink_to_fit(); |
| 946 | m_multiplotPushes.shrink_to_fit(); |
| 947 | #ifdef BUILD_COMMERCIAL |
| 948 | m_waterfallPushes.clear(); |
| 949 | m_plot3DPushes.clear(); |
| 950 | m_waterfallPushes.shrink_to_fit(); |
| 951 | m_plot3DPushes.shrink_to_fit(); |
| 952 | #endif |
| 953 | } |
| 954 | |
| 955 | /** |
| 956 | * @brief Resets all data in the dashboard, including plot values, widget structures, and actions. |