Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
builtin_commands.hpp File Reference
#include <helios/assert.hpp>
#include <helios/ecs/command/command.hpp>
#include <helios/ecs/component/component.hpp>
#include <helios/ecs/entity/entity.hpp>
#include <helios/ecs/message/message.hpp>
#include <helios/ecs/resource/resource.hpp>
#include <helios/ecs/world.hpp>
#include <helios/utils/common_traits.hpp>
#include <concepts>
#include <ranges>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  helios::ecs::FunctionCmd< F >
 Command that executes a function with World reference. More...
class  helios::ecs::DestroyEntityCmd
 Command to destroy a single entity. More...
class  helios::ecs::DestroyEntitiesCmd< Alloc >
 Command to destroy multiple entities. More...
class  helios::ecs::TryDestroyEntityCmd
 Command to try destroy a single entity. More...
class  helios::ecs::TryDestroyEntitiesCmd< Alloc >
 Command to try destroy multiple entities. More...
class  helios::ecs::AddComponentsCmd< Ts >
 Command to add multiple components to an entity. More...
class  helios::ecs::TryAddComponentsCmd< Ts >
 Command to try add multiple components (only missing ones). More...
class  helios::ecs::RemoveComponentsCmd< Ts >
 Command to remove multiple components from an entity. More...
class  helios::ecs::TryRemoveComponentsCmd< Ts >
 Command to try remove multiple components (only those present). More...
class  helios::ecs::ClearComponentsCmd
 Command to clear all components from an entity. More...
class  helios::ecs::InsertResourceCmd< T >
 Command to insert a resource into the world. More...
class  helios::ecs::TryInsertResourceCmd< T >
 Command to try insert a resource (only if missing). More...
struct  helios::ecs::RemoveResourceCmd< T >
 Command to remove resource from the world. More...
struct  helios::ecs::TryRemoveResourceCmd< T >
 Command to try remove resource (only if present). More...
struct  helios::ecs::ClearMessagesCmd< T >
 Command to clear all messages of a specific type from the queue. More...
struct  helios::ecs::ClearAllMessagesCmd
 Command to clear all message queues without removing registration. More...

Namespaces

namespace  helios
namespace  helios::ecs

Functions

template<typename G>
 helios::ecs::FunctionCmd (G &&) -> FunctionCmd< std::remove_cvref_t< G > >
template<ComponentTrait... Us>
 helios::ecs::AddComponentsCmd (Entity, Us &&...) -> AddComponentsCmd< std::remove_cvref_t< Us >... >
template<ComponentTrait... Us>
 helios::ecs::TryAddComponentsCmd (Entity, Us &&...) -> TryAddComponentsCmd< std::remove_cvref_t< Us >... >