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

Go to the source code of this file.

Classes

class  helios::app::Module
 Base class for all modules. More...
 

Namespaces

namespace  helios
 
namespace  helios::app
 

Concepts

concept  helios::app::ModuleTrait
 Concept to ensure a type is a valid Module.
 
concept  helios::app::ModuleWithNameTrait
 Concept to check if a Module provides a GetName() method.
 

Typedefs

using helios::app::ModuleTypeId = size_t
 

Functions

template<typename T >
constexpr ModuleTypeId helios::app::ModuleTypeIdOf () noexcept
 
template<ModuleTrait T>
constexpr std::string_view helios::app::ModuleNameOf () noexcept
 Gets the name of a module.