Castor3D 0.14.0
Multiplatform 3D engine
|
#include <CacheModule.hpp>
Types publics | |
using | ElementT = ResT |
using | ElementKeyT = KeyT |
using | ElementPtrT = std::shared_ptr< ElementT > |
using | ElementObsT = std::weak_ptr< ElementT > |
using | ElementContT = std::unordered_map< ElementKeyT, ElementPtrT > |
using | ElementCacheT = castor::ResourceCacheBaseT< ElementT, ElementKeyT, PtrCacheTraitsT< ElementT, ElementKeyT > > |
using | ElementInitialiserT = std::function< void(ElementT &) > |
using | ElementCleanerT = std::function< void(ElementT &) > |
using | ElementMergerT = std::function< void(ElementCacheT const &, ElementContT &, ElementPtrT) > |
Fonctions membres publiques statiques | |
template<typename ... ParametersT> | |
static ElementPtrT | makeElement (ElementCacheT const &cache, ElementKeyT const &key, ParametersT &&... params) |
static ElementObsT | makeElementObs (ElementPtrT const &element) |
static bool | areElementsEqual (ElementObsT const &lhs, ElementObsT const &rhs) |
static bool | areElementsEqual (ElementObsT const &lhs, ElementPtrT const &rhs) |
static bool | areElementsEqual (ElementPtrT const &lhs, ElementObsT const &rhs) |
static bool | areElementsEqual (ElementPtrT const &lhs, ElementPtrT const &rhs) |
static bool | isElementObsNull (ElementObsT const &element) |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementCacheT = castor::ResourceCacheBaseT< ElementT, ElementKeyT, PtrCacheTraitsT< ElementT, ElementKeyT > > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementCleanerT = std::function< void( ElementT & ) > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementContT = std::unordered_map< ElementKeyT, ElementPtrT > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementInitialiserT = std::function< void( ElementT & ) > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementKeyT = KeyT |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementMergerT = std::function< void( ElementCacheT const & , ElementContT & , ElementPtrT ) > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementObsT = std::weak_ptr< ElementT > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementPtrT = std::shared_ptr< ElementT > |
using castor3d::PtrCacheTraitsBaseT< ResT, KeyT >::ElementT = ResT |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |