#pragma once #include "../../Renderive/Axis/Time_Axis_p.h" #include "../../Renderive/plot/Plot_p.h" #include "../../Renderive/plottable/Audio_Frequency_p.h" #include "../../Renderive/plottable/Planisphere_p.h" #include "../../Renderive/plottable/Waterfall_p.h" namespace renderive { struct Abs_Plot_Private_Access { static int active_render_tasks(const Abs_Plot& plot) { return plot.d->active_render_tasks.load(std::memory_order_acquire); } }; struct Audio_Frequency_Private_Access { static Audio_Frequency_Private* data(Audio_Frequency* audio) { return reinterpret_cast(audio->d_ptr); } }; struct Planisphere_Private_Access { static Planisphere_Private* data(Planisphere* planisphere) { return reinterpret_cast(planisphere->d_ptr); } }; struct Waterfall_Private_Access { static Waterfall_Private* data(Waterfall* waterfall) { return reinterpret_cast(waterfall->d_ptr); } }; } // namespace renderive