Files
Renderive/Qt/plot/Latency_Eager_Plot.h
T
2026-08-17 11:50:07 +08:00

22 lines
597 B
C++

#pragma once
#include "Plot.h"
namespace renderive {
class LIB_DECL Latency_Eager_Plot : public Abs_Plot {
public:
Latency_Eager_Plot();
~Latency_Eager_Plot() override = default;
void start();
void pause();
[[nodiscard]] bool running() const;
[[nodiscard]] double max_render_fps() const;
[[nodiscard]] auto set_max_render_fps(double fps)
-> Expected<void, Plot_Set_Max_Render_Fps_Error>;
[[nodiscard]] Low_Latency_Diagnostics diagnostics() const;
[[nodiscard]] Refresh_Control_Snapshot refresh_feedback_snapshot() const;
};
} // namespace renderive