co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
co_ecs::stage_executor Class Reference

Class representing a stage executor. More...

#include <stage.hpp>

Public Types

using builder = stage
 Type alias for the stage builder.
 

Public Member Functions

 stage_executor (std::string_view name, std::vector< vector_of_executors_t > executor_set, vector_of_executors_t main_thread_executors)
 Constructs a new stage executor.
 
void run ()
 Runs all systems in the stage.
 

Detailed Description

Class representing a stage executor.

A stage executor is responsible for running all systems in a stage.

Member Typedef Documentation

◆ builder

Type alias for the stage builder.

Constructor & Destructor Documentation

◆ stage_executor()

co_ecs::stage_executor::stage_executor ( std::string_view name,
std::vector< vector_of_executors_t > executor_set,
vector_of_executors_t main_thread_executors )
inlineexplicit

Constructs a new stage executor.

Parameters
nameName of the stage.
executor_setSet of system executors.
main_thread_executorsMain thread system executors.

Member Function Documentation

◆ run()

void co_ecs::stage_executor::run ( )
inline

Runs all systems in the stage.


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