Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
runners.hpp File Reference
#include <helios/core_pch.hpp>
#include <helios/core/app/app.hpp>
#include <helios/core/app/time.hpp>
#include <helios/core/ecs/events/builtin_events.hpp>
#include <helios/core/ecs/world.hpp>
#include <helios/core/logger.hpp>
#include <helios/core/timer.hpp>
#include <chrono>
#include <cstdint>
#include <exception>
#include <utility>

Go to the source code of this file.

Classes

struct  helios::app::DefaultRunnerConfig
 Configuration for the default runner. More...
 
struct  helios::app::FrameLimitedRunnerConfig
 Configuration for the frame-limited runner. More...
 
struct  helios::app::TimedRunnerConfig
 Configuration for the timed runner. More...
 
struct  helios::app::FixedTimestepRunnerConfig
 Configuration for the fixed timestep runner. More...
 
struct  helios::app::OnceRunnerConfig
 Configuration for the once runner. More...
 

Namespaces

namespace  helios
 
namespace  helios::app
 

Functions

auto helios::app::CheckShutdownEvent (App &app) noexcept -> std::pair< bool, ecs::ShutdownExitCode >
 Checks if a shutdown event has been received.
 
constexpr AppExitCode helios::app::ToAppExitCode (ecs::ShutdownExitCode code) noexcept
 Converts shutdown exit code to app exit code.
 
AppExitCode helios::app::DefaultRunner (App &app, DefaultRunnerConfig config={})
 
AppExitCode helios::app::FrameLimitedRunner (App &app, FrameLimitedRunnerConfig config)
 
AppExitCode helios::app::TimedRunner (App &app, TimedRunnerConfig config)
 
AppExitCode helios::app::FixedTimestepRunner (App &app, FixedTimestepRunnerConfig config)
 
AppExitCode helios::app::OnceRunner (App &app, OnceRunnerConfig config={})