Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
runners.hpp File Reference
#include <helios/app/application.hpp>
#include <helios/app/sub_app.hpp>
#include <algorithm>
#include <chrono>
#include <optional>
#include <thread>

Go to the source code of this file.

Classes

struct  helios::app::FixedRunnerConfig
 Configuration for fixed-timestep runners. More...

Namespaces

namespace  helios
namespace  helios::app

Functions

ExitCode helios::app::RunDefault (App &app)
 Runs the application until an AppExit message is received.
ExitCode helios::app::RunFixed (App &app, const FixedRunnerConfig &config={})
 Runs the application with a fixed timestep.
ExitCode helios::app::RunOnce (App &app)
 Runs a single application frame.
void helios::app::RunDefaultSubApp (SubApp &sub_app, async::Executor &executor)
 Runs the sub-app update loop until SubApp::ShouldExit is true.
void helios::app::RunFixedSubApp (SubApp &sub_app, async::Executor &executor, const FixedRunnerConfig &config={})
 Runs the sub-app with a fixed timestep.
void helios::app::RunOnceSubApp (SubApp &sub_app, async::Executor &executor)
 Runs a single sub-app update stage.