Definition at line 55 of file sparse_pool.hpp.
Instances and minimal complete definitions | |
| struct | window |
Friends | |
| class | creation_queue< sparse_pool< T > > |
| class | destruction_queue< sparse_pool< T > > |
Public Types | |
| typedef iterator_impl | iterator |
| typedef T | type |
Public Member Functions | |
| template<typename... Args> | |
| void | auto_create_components (entity_pool &owner_pool, Args &&...constructor_args) |
| iterator | begin () |
| template<typename... Args> | |
| T * | create (entity e, Args &&...args) |
| void | destroy (entity e) |
| iterator | end () |
| T * | get (entity e) |
| T const * | get (entity e) const |
| std::size_t | size () |
| sparse_pool (entity_pool &owner_pool, T const &default_value=T()) | |
| window | view () |
|
friend |
Definition at line 303 of file sparse_pool.hpp.
|
friend |
Definition at line 304 of file sparse_pool.hpp.
| void entity::component::sparse_pool< T >::auto_create_components | ( | entity_pool & | owner_pool, |
| Args &&... | constructor_args | ||
| ) |
Definition at line 206 of file sparse_pool.hpp.
References entity::entity_pool::signal_list::on_entity_create, and entity::entity_pool::signals().
| iterator entity::component::sparse_pool< T >::begin | ( | ) |
Definition at line 277 of file sparse_pool.hpp.
| T* entity::component::sparse_pool< T >::create | ( | entity | e, |
| Args &&... | args | ||
| ) |
Definition at line 237 of file sparse_pool.hpp.
Referenced by entity::component::sparse_pool< T >::sparse_pool().
| void entity::component::sparse_pool< T >::destroy | ( | entity | e | ) |
Definition at line 250 of file sparse_pool.hpp.
| iterator entity::component::sparse_pool< T >::end | ( | ) |
Definition at line 282 of file sparse_pool.hpp.
| T* entity::component::sparse_pool< T >::get | ( | entity | e | ) |
Definition at line 255 of file sparse_pool.hpp.
| T const* entity::component::sparse_pool< T >::get | ( | entity | e | ) | const |
Definition at line 266 of file sparse_pool.hpp.
| std::size_t entity::component::sparse_pool< T >::size | ( | ) |
Definition at line 292 of file sparse_pool.hpp.
| window entity::component::sparse_pool< T >::view | ( | ) |
Definition at line 287 of file sparse_pool.hpp.
| typedef iterator_impl entity::component::sparse_pool< T >::iterator |
Definition at line 104 of file sparse_pool.hpp.
| typedef T entity::component::sparse_pool< T >::type |
Definition at line 103 of file sparse_pool.hpp.
| entity::component::sparse_pool< T >::sparse_pool | ( | entity_pool & | owner_pool, |
| T const & | default_value = T() |
||
| ) |
Definition at line 162 of file sparse_pool.hpp.
References entity::entity_pool::begin(), entity::component::sparse_pool< T >::create(), entity::entity_pool::end(), entity::for_each(), entity::entity_pool::signal_list::on_entity_destroy, entity::entity_pool::signal_list::on_entity_swap, and entity::entity_pool::signals().