Kagome
Polkadot Runtime Engine in C++17
tools::containers::ObjectsCacheManager< T, ARGS > Struct Template Reference

#include <objects_cache.hpp>

Inheritance diagram for tools::containers::ObjectsCacheManager< T, ARGS >:
Collaboration diagram for tools::containers::ObjectsCacheManager< T, ARGS >:

Additional Inherited Members

- Public Types inherited from tools::containers::ObjectsCache< T::Type >
using Type = T
 
using ObjectPtr = std::shared_ptr< Type >
 
- Public Member Functions inherited from tools::containers::ObjectsCache< T::Type >
ObjectsCacheoperator= (const ObjectsCache &)=delete
 
ObjectsCacheoperator= (ObjectsCache &&)=delete
 
 ObjectsCache (const ObjectsCache &)=delete
 
 ObjectsCache (ObjectsCache &&)=delete
 
 ObjectsCache ()=default
 
 ObjectsCache (ObjsCacheDefAlloc< T > &alloc)
 
virtual ~ObjectsCache ()
 
TypegetCachedObject ()
 
void setCachedObject (Type *const ptr)
 
ObjectPtr getSharedCachedObject ()
 

Detailed Description

template<typename T, typename... ARGS>
struct tools::containers::ObjectsCacheManager< T, ARGS >

The set of caches with different cached objects.

Template Parameters
TCacheUnit description of the cached type
ARGSthe set of CacheUnit descriptions

Definition at line 130 of file objects_cache.hpp.


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