SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::ViewImpl< Components > Class Template Reference

#include <EntityManager.hpp>

+ Collaboration diagram for sd::ViewImpl< Components >:

Classes

struct  Iterator
 

Public Member Functions

 ViewImpl (EntityManager &manager)
 
Iterator begin ()
 
Iterator end ()
 
template<typename Component >
void check_size (usize &minSize)
 

Private Member Functions

template<typename Component >
void check_size (usize &minSize)
 

Private Attributes

EntityManagerm_manager
 
const std::vector< Entity > * m_smallest_pool = nullptr
 

Constructor & Destructor Documentation

◆ ViewImpl()

template<typename... Components>
ViewImpl::ViewImpl ( EntityManager manager)
explicit

Member Function Documentation

◆ begin()

template<typename... Components>
ViewImpl< Components... >::Iterator ViewImpl::begin ( )

◆ check_size() [1/2]

template<typename... Components>
template<typename Component >
void sd::ViewImpl< Components >::check_size ( usize minSize)
private

◆ check_size() [2/2]

template<typename... Components>
template<typename Component >
void sd::ViewImpl< Components >::check_size ( usize minSize)

◆ end()

template<typename... Components>
ViewImpl< Components... >::Iterator ViewImpl::end ( )

Member Data Documentation

◆ m_manager

template<typename... Components>
EntityManager& sd::ViewImpl< Components >::m_manager
private

◆ m_smallest_pool

template<typename... Components>
const std::vector<Entity>* sd::ViewImpl< Components >::m_smallest_pool = nullptr
private

The documentation for this class was generated from the following files: