EnTT 3.15.0
|
Signal connection helper for registries. More...
#include <helper.hpp>
Public Types | |
using | registry_type = Registry |
Registry type. | |
Public Member Functions | |
sigh_helper (registry_type &ref) | |
Constructs a helper for a given registry. | |
template<typename Type> | |
auto | with (const id_type id=type_hash< Type >::value()) noexcept |
Binds a properly initialized helper to a given signal type. | |
registry_type & | registry () noexcept |
Returns a reference to the underlying registry. | |
Signal connection helper for registries.
Registry | Basic registry type. |
Definition at line 151 of file helper.hpp.
using entt::sigh_helper< Registry >::registry_type = Registry |
Registry type.
Definition at line 153 of file helper.hpp.
|
inline |
Constructs a helper for a given registry.
ref | A valid reference to a registry. |
Definition at line 159 of file helper.hpp.
|
inlinenodiscardnoexcept |
Returns a reference to the underlying registry.
Definition at line 177 of file helper.hpp.
|
inlinenoexcept |
Binds a properly initialized helper to a given signal type.
Type | Type of signal to bind the helper to. |
id | Optional name for the underlying storage to use. |
Definition at line 169 of file helper.hpp.