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

System executor interface, a system is a type that implements run() method. More...

#include <system.hpp>

Public Member Functions

virtual ~system_executor_interface ()=default
 Destroy the system executor interface object.
 
virtual void run ()=0
 Execute system logic.
 
virtual auto name () const -> std::string_view=0
 Get the name of the entity.
 
virtual auto type_name () const -> std::string_view=0
 Get the type name of the entity.
 
virtual auto access_pattern () const -> access_pattern_t=0
 Get the access pattern of the entity.
 

Detailed Description

System executor interface, a system is a type that implements run() method.

Constructor & Destructor Documentation

◆ ~system_executor_interface()

virtual co_ecs::system_executor_interface::~system_executor_interface ( )
virtualdefault

Destroy the system executor interface object.

Member Function Documentation

◆ access_pattern()

virtual auto co_ecs::system_executor_interface::access_pattern ( ) const -> access_pattern_t
pure virtual

Get the access pattern of the entity.

Returns
The access pattern of the entity.

◆ name()

virtual auto co_ecs::system_executor_interface::name ( ) const -> std::string_view
pure virtual

Get the name of the entity.

Returns
The name of the entity.

◆ run()

virtual void co_ecs::system_executor_interface::run ( )
pure virtual

Execute system logic.

◆ type_name()

virtual auto co_ecs::system_executor_interface::type_name ( ) const -> std::string_view
pure virtual

Get the type name of the entity.

Returns
The type name of the entity.

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