Air-Trap
1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
SystemConcept.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2025
3
** R-Type
4
** File description:
5
**
6
* SystemConcept.hpp
7
*/
8
9
#ifndef RTYPE_SYSTEMCONCEPT_HPP_
10
#define RTYPE_SYSTEMCONCEPT_HPP_
11
12
#include "
RType/ECS/ISystem.hpp
"
13
#include "
RType/ECS/Signature.hpp
"
14
15
#include <type_traits>
16
17
namespace
rtp::ecs
18
{
26
template
<
typename
T>
27
concept
System
= std::is_base_of_v<ISystem, T> &&
28
requires
{
29
{ T::getRequiredSignature() }
30
-> std::same_as<Signature>;
31
};
32
}
33
34
#endif
/* !RTYPE_SYSTEMCONCEPT_HPP_ */
ISystem.hpp
Interface for ECS systems.
Signature.hpp
Component signature representation for ECS.
rtp::ecs::System
Concept defining the requirements for a System type.
Definition
SystemConcept.hpp:27
rtp::ecs
File : RenderSystem.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue....
Definition
ComponentConcept.hpp:49
common
include
RType
ECS
SystemConcept.hpp
Generated by
1.9.8