co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
co_ecs::system_interface Class Referenceabstract

System interface. More...

#include <system.hpp>

Inheritance diagram for co_ecs::system_interface:
co_ecs::named_system< F >

Public Member Functions

virtual ~system_interface ()=default
 Destroy the system interface object.
 
virtual std::unique_ptr< system_executor_interfacecreate_executor (registry &registry, void *user_context)=0
 Create a system executor object.
 

Detailed Description

System interface.

Constructor & Destructor Documentation

◆ ~system_interface()

virtual co_ecs::system_interface::~system_interface ( )
virtualdefault

Destroy the system interface object.

Member Function Documentation

◆ create_executor()

virtual std::unique_ptr< system_executor_interface > co_ecs::system_interface::create_executor ( registry & registry,
void * user_context )
pure virtual

Create a system executor object.

Parameters
registryRegistry
user_contextUser provided context to fetch data from and provide to the system
Returns
std::unique_ptr<system_executor_interface>

Implemented in co_ecs::named_system< F >.


The documentation for this class was generated from the following file: