PagerObject Class Reference

This is a base class for objects that may be created in pager pools. More...

#include <memory.h>

Inheritance diagram for PagerObject:
Inheritance graph
[legend]
Collaboration diagram for PagerObject:
Collaboration graph
[legend]

Protected Member Functions

 PagerObject ()
 Create a pager object.
void release (void)
 Release a pager object reference.
void dealloc (void)
 Return the pager object back to it's originating pool.

Protected Attributes

PagerPoolpager

Friends

class PagerPool

Detailed Description

This is a base class for objects that may be created in pager pools.

This is also used to create objects which can be maintained as managed memory and returned to a pool. The linked list is used when freeing and re-allocating the object. These objects are reference counted so that they are returned to the pool they come from automatically when falling out of scope. This can be used to create automatic garbage collection pools.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 321 of file memory.h.


Constructor & Destructor Documentation

PagerObject::PagerObject (  )  [protected]

Create a pager object.

This is object is constructed by a PagerPool.


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

Generated on 28 Dec 2009 for UCommon by  doxygen 1.6.1