|
| | sigh_helper (registry_type &ref, const id_type id=type_hash< Type >::value()) |
| | Constructs a helper for a given registry.
|
| |
| template<auto Candidate, typename... Args> |
| auto | on_construct (Args &&...args) |
| | Forwards the call to on_construct on the underlying storage.
|
| |
| template<auto Candidate, typename... Args> |
| auto | on_update (Args &&...args) |
| | Forwards the call to on_update on the underlying storage.
|
| |
| template<auto Candidate, typename... Args> |
| auto | on_destroy (Args &&...args) |
| | Forwards the call to on_destroy on the underlying storage.
|
| |
| | 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.
|
| |
template<typename Registry, typename Type>
struct entt::sigh_helper< Registry, Type >
Signal connection helper for registries.
- Template Parameters
-
| Registry | Basic registry type. |
| Type | Type of signal to connect listeners to. |
Definition at line 190 of file helper.hpp.
template<typename Registry , typename Type >
template<auto Candidate, typename... Args>
Forwards the call to on_construct on the underlying storage.
- Template Parameters
-
| Candidate | Function or member to connect. |
| Args | Type of class or type of payload, if any. |
- Parameters
-
| args | A valid object that fits the purpose, if any. |
- Returns
- This helper.
Definition at line 211 of file helper.hpp.
template<typename Registry , typename Type >
template<auto Candidate, typename... Args>
Forwards the call to on_destroy on the underlying storage.
- Template Parameters
-
| Candidate | Function or member to connect. |
| Args | Type of class or type of payload, if any. |
- Parameters
-
| args | A valid object that fits the purpose, if any. |
- Returns
- This helper.
Definition at line 237 of file helper.hpp.
template<typename Registry , typename Type >
template<auto Candidate, typename... Args>
Forwards the call to on_update on the underlying storage.
- Template Parameters
-
| Candidate | Function or member to connect. |
| Args | Type of class or type of payload, if any. |
- Parameters
-
| args | A valid object that fits the purpose, if any. |
- Returns
- This helper.
Definition at line 224 of file helper.hpp.