Provides thread-safe cooked data creation and storage. All methods are thread-safe to call, however manipulating the created data is not thread-safe unless stated explicitly.
More...
#include <CookedResourceCollectionBase.h>
Provides thread-safe cooked data creation and storage. All methods are thread-safe to call, however manipulating the created data is not thread-safe unless stated explicitly.
◆ TSdlResourceIdMap
template<typename CookedType >
◆ ~CookedResourceCollectionBase()
virtual ph::CookedResourceCollectionBase::~CookedResourceCollectionBase |
( |
| ) |
|
|
virtualdefault |
◆ getCookedResourceByID()
template<typename CookedType , typename... DeducedArgs>
static const CookedType * ph::CookedResourceCollectionBase::getCookedResourceByID |
( |
const TSynchronized< TSdlResourceIdMap< CookedType > > & | syncedIdToResource, |
|
|
const SdlResourceId | id ) |
|
inlinestaticprotected |
◆ getStats()
virtual std::string ph::CookedResourceCollectionBase::getStats |
( |
| ) |
const |
|
pure virtual |
◆ makeCookedResource()
template<typename DerivedType , typename BaseType , typename... DeducedArgs>
static DerivedType * ph::CookedResourceCollectionBase::makeCookedResource |
( |
TSynchronized< TUniquePtrVector< BaseType > > & | syncedResources, |
|
|
DeducedArgs &&... | args ) |
|
inlinestaticnodiscardprotected |
◆ makeCookedResourceWithID()
template<typename CookedType , typename... DeducedArgs>
static CookedType * ph::CookedResourceCollectionBase::makeCookedResourceWithID |
( |
TSynchronized< TSdlResourceIdMap< CookedType > > & | syncedIdToResource, |
|
|
const SdlResourceId | id, |
|
|
DeducedArgs &&... | args ) |
|
inlinestaticprotected |
The documentation for this class was generated from the following file: