UCommon
Protected Member Functions
ucommon::PagerReuse Class Reference

A mempager source of reusable objects. More...

#include <vector.h>

Inheritance diagram for ucommon::PagerReuse:
Inheritance graph
[legend]
Collaboration diagram for ucommon::PagerReuse:
Collaboration graph
[legend]

Protected Member Functions

bool avail (void)
ReusableObjectget (void)
ReusableObjectget (timeout_t timeout)
 PagerReuse (mempager *pager, size_t objsize, unsigned count)
ReusableObjectrequest (void)

Detailed Description

A mempager source of reusable objects.

This is used by the reuse_pager template to allocate new objects either from a memory pager used as a private heap, or from previously allocated objects that have been returned for reuse.

Author:
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Definition at line 76 of file vector.h.


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