Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
schedule.hpp File Reference
#include <helios/core_pch.hpp>
#include <ctti/name.hpp>
#include <ctti/type_id.hpp>
#include <array>
#include <concepts>
#include <cstddef>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  helios
 
namespace  helios::app
 

Concepts

concept  helios::app::ScheduleTrait
 
concept  helios::app::ScheduleWithNameTrait
 
concept  helios::app::ScheduleWithBeforeTrait
 Concept for schedules that provide Before() ordering constraints.
 
concept  helios::app::ScheduleWithAfterTrait
 Concept for schedules that provide After() ordering constraints.
 
concept  helios::app::ScheduleWithStageTrait
 Concept for schedules that declare stage membership.
 
concept  helios::app::StageTrait
 Concept for schedules that represent stages.
 

Typedefs

using helios::app::ScheduleId = size_t
 Type alias for schedule type IDs.
 

Functions

template<ScheduleTrait T>
constexpr ScheduleId helios::app::ScheduleIdOf () noexcept
 
template<ScheduleTrait T>
constexpr std::string_view helios::app::ScheduleNameOf () noexcept
 
template<ScheduleTrait T>
constexpr auto helios::app::ScheduleBeforeOf () noexcept
 Gets the Before() ordering constraints for a schedule.
 
template<ScheduleTrait T>
constexpr auto helios::app::ScheduleAfterOf () noexcept
 Gets the After() ordering constraints for a schedule.
 
template<ScheduleTrait T>
constexpr bool helios::app::IsStage () noexcept
 Checks if a schedule type is a stage.
 
template<ScheduleTrait T>
constexpr ScheduleId helios::app::ScheduleStageOf () noexcept
 Gets the stage ID that a schedule belongs to.