aether::ecs::component_manager< T > Class Template Reference

#include <component_manager.hh>

Public Types

using proxy_type = proxy< false >
 
using const_proxy_type = proxy< true >
 

Public Member Functions

template<typename... Args>
proxy_type create_and_get (size_t index, Args &&...args)
 
proxy_type get (const size_t index)
 
const_proxy_type get (const size_t index) const
 
template<typename Writer >
int serialize (const size_t index, Writer &writer)
 
template<typename Reader >
int deserialize (const size_t index, Reader &reader)
 
void clear_component (const size_t index)
 
void clear ()
 

Member Typedef Documentation

template<typename T >
using aether::ecs::component_manager< T >::const_proxy_type = proxy<true>
template<typename T >
using aether::ecs::component_manager< T >::proxy_type = proxy<false>

Member Function Documentation

template<typename T >
void aether::ecs::component_manager< T >::clear ( )
inline
template<typename T >
void aether::ecs::component_manager< T >::clear_component ( const size_t  index)
inline
template<typename T >
template<typename... Args>
proxy_type aether::ecs::component_manager< T >::create_and_get ( size_t  index,
Args &&...  args 
)
inline
template<typename T >
template<typename Reader >
int aether::ecs::component_manager< T >::deserialize ( const size_t  index,
Reader &  reader 
)
inline
template<typename T >
proxy_type aether::ecs::component_manager< T >::get ( const size_t  index)
inline
template<typename T >
const_proxy_type aether::ecs::component_manager< T >::get ( const size_t  index) const
inline
template<typename T >
template<typename Writer >
int aether::ecs::component_manager< T >::serialize ( const size_t  index,
Writer &  writer 
)
inline