Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::app::Startup Struct Reference

Startup schedule - main initialization. More...

#include <schedules.hpp>

Static Public Member Functions

static constexpr ScheduleId GetStage () noexcept
 
static constexpr auto Before () noexcept -> std::array< ScheduleId, 1 >
 
static constexpr auto After () noexcept -> std::array< ScheduleId, 1 >
 
static constexpr std::string_view GetName () noexcept
 

Detailed Description

Startup schedule - main initialization.

Main initialization schedule in the StartUpStage. Used for setting up systems and resources. Executes: After(PreStartup) and Before(PostStartup)

Definition at line 97 of file schedules.hpp.

Member Function Documentation

◆ After()

static constexpr auto helios::app::Startup::After ( ) -> std::array<ScheduleId, 1>
inlinestaticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 100 of file schedules.hpp.

100{ return {ScheduleIdOf<PreStartup>()}; }

◆ Before()

constexpr auto helios::app::Startup::Before ( ) -> std::array<ScheduleId, 1>
staticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 121 of file schedules.hpp.

121 {
122 return {ScheduleIdOf<PostStartup>()};
123}

◆ GetName()

static constexpr std::string_view helios::app::Startup::GetName ( )
inlinestaticconstexprnoexcept

◆ GetStage()

static constexpr ScheduleId helios::app::Startup::GetStage ( )
inlinestaticconstexprnoexcept
Examples
/home/runner/work/HeliosEngine/HeliosEngine/src/core/include/helios/core/app/schedules.hpp.

Definition at line 98 of file schedules.hpp.

98{ return ScheduleIdOf<StartUpStage>(); }