EnTT 3.14.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 150 of file helper.hpp.
Registry type.
Definition at line 152 of file helper.hpp.
|
inline |
Constructs a helper for a given registry.
ref | A valid reference to a registry. |
Definition at line 158 of file helper.hpp.
|
inlinenoexcept |
Returns a reference to the underlying registry.
Definition at line 176 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 168 of file helper.hpp.