Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
ComponentConcept.hpp File Reference

Concepts for validating component types in the ECS. More...

#include <concepts>
#include <type_traits>
#include <cstddef>
Include dependency graph for ComponentConcept.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rtp
 
namespace  rtp::ecs
 File : RenderSystem.hpp License: MIT Author : Elias JosuĂ© HAJJAR LLAUQUEN elias.nosp@m.-jos.nosp@m.ue.ha.nosp@m.jjar.nosp@m.-llau.nosp@m.quen.nosp@m.@epit.nosp@m.ech..nosp@m.eu Date : 14/12/2025.
 

Concepts

concept  rtp::ecs::Component
 Concept for valid ECS component types.
 
concept  rtp::ecs::Serializable
 Concept for network-serializable components.
 

Functions

std::size_t rtp::ecs::nextComponentID ()
 
template<typename T >
std::size_t rtp::ecs::getStaticComponentID ()
 

Detailed Description

Concepts for validating component types in the ECS.

Author
Robin Toillon

Defines compile-time constraints for types that can be used as components in the Entity Component System.

Definition in file ComponentConcept.hpp.