Buffered pager for storing paged strings for character protocol. More...
#include <memory.h>
Public Member Functions | |
bufpager (size_t page=0) | |
unsigned long | getUsed (void) |
Get total size. | |
void | reset (void) |
Reset pager text buffer protocol. | |
void | rewind (void) |
Rewind to start of text buffer protocol. | |
Protected Member Functions | |
virtual void * | _alloc (size_t size) |
Allocate memory from the pager heap. |
Buffered pager for storing paged strings for character protocol.
Definition at line 238 of file memory.h.
virtual void* ucc::bufpager::_alloc | ( | size_t | size | ) | [protected, virtual] |
Allocate memory from the pager heap.
The size of the request must be less than the size of the memory page used. This implements the memory protocol allocation method.
size | of memory request. |
Reimplemented from ucc::memalloc.
unsigned long ucc::bufpager::getUsed | ( | void | ) | [inline] |