Definition at line 48 of file entity_pool.hpp.
Instances and minimal complete definitions | |
| struct | signal_list |
Public Types | |
| typedef iterator_impl | const_iterator |
| typedef iterator_impl | iterator |
Public Member Functions | |
| iterator | begin () const |
| entity | create () |
| shared_entity | create_shared () |
| unique_entity | create_unique () |
| void | destroy (entity e) |
| bool | empty () const |
| iterator | end () const |
| entity_pool () | |
| signal_list & | signals () |
| std::size_t | size () const |
| ~entity_pool () | |
| iterator entity::entity_pool::begin | ( | ) | const |
Definition at line 174 of file entity_pool.hpp.
Referenced by entity::begin(), entity::component::dense_pool< T >::dense_pool(), and entity::component::sparse_pool< T >::sparse_pool().
| entity entity::entity_pool::create | ( | ) |
Definition at line 109 of file entity_pool.hpp.
References entity::make_entity(), entity::entity_pool::signal_list::on_entity_create, and signals().
| shared_entity entity::entity_pool::create_shared | ( | ) |
| unique_entity entity::entity_pool::create_unique | ( | ) |
Definition at line 118 of file entity_pool.hpp.
References entity::make_entity(), entity::entity_pool::signal_list::on_entity_create, and signals().
Referenced by create_shared().
| void entity::entity_pool::destroy | ( | entity | e | ) |
Definition at line 159 of file entity_pool.hpp.
Referenced by ~entity_pool().
| bool entity::entity_pool::empty | ( | ) | const |
Definition at line 169 of file entity_pool.hpp.
| iterator entity::entity_pool::end | ( | ) | const |
Definition at line 179 of file entity_pool.hpp.
References size().
Referenced by entity::component::dense_pool< T >::dense_pool(), entity::end(), and entity::component::sparse_pool< T >::sparse_pool().
| signal_list& entity::entity_pool::signals | ( | ) |
Definition at line 184 of file entity_pool.hpp.
Referenced by entity::component::sparse_pool< T >::auto_create_components(), entity::component::saturated_pool< T >::auto_create_components(), entity::component::dense_pool< T >::auto_create_components(), create(), create_unique(), entity::component::dense_pool< T >::dense_pool(), entity::component::saturated_pool< T >::saturated_pool(), and entity::component::sparse_pool< T >::sparse_pool().
| std::size_t entity::entity_pool::size | ( | ) | const |
Definition at line 164 of file entity_pool.hpp.
Referenced by entity::component::dense_pool< T >::dense_pool(), end(), and entity::component::saturated_pool< T >::saturated_pool().
| typedef iterator_impl entity::entity_pool::const_iterator |
Definition at line 88 of file entity_pool.hpp.
| typedef iterator_impl entity::entity_pool::iterator |
Definition at line 87 of file entity_pool.hpp.
| entity::entity_pool::entity_pool | ( | ) |
Definition at line 97 of file entity_pool.hpp.
| entity::entity_pool::~entity_pool | ( | ) |
Definition at line 101 of file entity_pool.hpp.
References destroy(), and entity::make_entity().