Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Types | Public Member Functions | List of all members
smlt::StageNodeManager< PoolType, IDType, T, Subtypes > Class Template Reference

Public Types

typedef StageNodeManager< PoolType, IDType, T, Subtypes... > this_type
 

Public Member Functions

 StageNodeManager (PoolType *pool)
 
const PoolType * pool () const
 
template<typename Derived , typename... Args>
Derived * make_as (Args &&... args)
 
template<typename... Args>
T * make (Args &&... args)
 
bool contains (const IDType &id) const
 
T * get (const IDType &id) const
 
T * clone (const IDType &id, this_type *target_manager=nullptr)
 
bool destroy (const IDType &id)
 
void clear ()
 
void destroy_all ()
 
bool destroy_immediately (const IDType &id)
 
void clean_up ()
 
std::size_t size () const
 
std::list< T * >::iterator begin ()
 
std::list< T * >::iterator end ()
 

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