Unravel Engine C++ Reference
Loading...
Searching...
No Matches
deploy_panel.h
Go to the documentation of this file.
1#pragma once
2
3#include <base/basetypes.hpp>
4#include <context/context.hpp>
5
7
8namespace unravel
9{
10
11class imgui_panels;
12
14{
15public:
17
18 void on_frame_ui_render(rtti::context& ctx, const char* name);
19
20 void show(bool s);
21
22 void deploy_and_run(rtti::context& ctx, const deploy_settings& params);
23 auto is_deploying() const -> bool;
24
25private:
26 void draw_ui(rtti::context& ctx);
27 auto get_progress() const -> float;
28
29 imgui_panels* parent_{};
30 bool show_request_{};
31
32 std::map<std::string, tpp::shared_future<void>> deploy_jobs_;
33};
34} // namespace unravel
deploy_panel(imgui_panels *parent)
auto is_deploying() const -> bool
void deploy_and_run(rtti::context &ctx, const deploy_settings &params)
void on_frame_ui_render(rtti::context &ctx, const char *name)
std::string name
Definition hub.cpp:33