Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
BodyComponentDB::Pool< T > Struct Template Referencefinal

#include <BodyComponent.h>

Inheritance diagram for BodyComponentDB::Pool< T >:
Inheritance graph
[legend]
Collaboration diagram for BodyComponentDB::Pool< T >:
Collaboration graph
[legend]

Public Member Functions

virtual void deleteComponent (Body *body) override
 
T * newComponent (const Body *body)
 
T * get (const Body *body)
 
 PoolBase (size_t index, size_t type)
 
- Public Member Functions inherited from BodyComponentDB::PoolBase
 PoolBase (size_t index, size_t type)
 
virtual ~PoolBase ()
 
virtual void deleteComponent (Body *body)=0
 

Friends

template<typename U >
struct BodyComponentDB::Serializer
 
template<typename U >
struct BodyComponentDB::LuaInterface
 

Additional Inherited Members

- Public Attributes inherited from BodyComponentDB::PoolBase
size_t componentIndex = 0
 
size_t componentType = 0
 
SerializerBaseserializer = nullptr
 
LuaInterfaceBaseluaInterface = nullptr
 
std::string typeName
 

Member Function Documentation

◆ deleteComponent()

template<typename T >
virtual void BodyComponentDB::Pool< T >::deleteComponent ( Body body)
inlineoverridevirtual

Implements BodyComponentDB::PoolBase.

Here is the call graph for this function:

◆ get()

template<typename T >
T * BodyComponentDB::Pool< T >::get ( const Body body)
inline

◆ newComponent()

template<typename T >
T * BodyComponentDB::Pool< T >::newComponent ( const Body body)
inline

◆ PoolBase()

template<typename T >
BodyComponentDB::PoolBase::PoolBase ( size_t  index,
size_t  type 
)
inline

Friends And Related Symbol Documentation

◆ BodyComponentDB::LuaInterface

template<typename T >
template<typename U >
friend struct BodyComponentDB::LuaInterface
friend

◆ BodyComponentDB::Serializer

template<typename T >
template<typename U >
friend struct BodyComponentDB::Serializer
friend

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