Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
plugin.hpp File Reference
#include <helios/utils/type_info.hpp>
#include <concepts>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Classes

class  helios::app::Plugin
 Base class for all plugins. More...

Namespaces

namespace  helios
namespace  helios::app

Concepts

concept  helios::app::PluginTrait
 Concept to ensure a type is a valid Plugin.
concept  helios::app::PluginWithNameTrait
 Concept for plugins that provide a name.

Typedefs

using helios::app::PluginTypeIndex = utils::TypeIndex
 Type index for plugins.
using helios::app::PluginTypeId = utils::TypeId
 Type id for plugins.

Functions

template<PluginTrait T>
constexpr std::string_view helios::app::PluginNameOf () noexcept
 Gets name for a plugin type.
template<PluginTrait T>
constexpr std::string_view helios::app::PluginNameOf (const T &) noexcept
 Gets name for a plugin type.