![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
keep track of any distinct memory pools used
Definition at line 127 of file tracking-allocator.cpp.
Static Public Member Functions | |
| static PoolHandle | locate (Literal poolID) |
| static access front-end : locate (or create) a MemoryPool | |
Private Types | |
| using | PoolTab = std::unordered_map< Literal, std::weak_ptr< MemoryPool > > |
Private Member Functions | |
| PoolHandle | fetch_or_create (Literal poolID) |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
Private Attributes | |
| PoolTab | pools_ {} |
|
private |
Definition at line 130 of file tracking-allocator.cpp.
|
static |
static access front-end : locate (or create) a MemoryPool
Definition at line 148 of file tracking-allocator.cpp.
References lib::test::anonymous_namespace{tracking-allocator.cpp}::poolReg.
|
private |
Definition at line 155 of file tracking-allocator.cpp.
|
private |
Definition at line 132 of file tracking-allocator.cpp.
Inheritance diagram for PoolRegistry:
Collaboration diagram for PoolRegistry: