Poster of Linux kernelThe best gift for a Linux geek
ost::MemPagerObject

ost::MemPagerObject

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::MemPagerObject -

This class is used to create derived classes which are constructed within a memory pager pool.

 

SYNOPSIS


#include <misc.h>  

Public Member Functions


void * operator new (size_t size, MemPager &pager)
Allocate memory from a memory pager.
void * operator new[] (size_t size, MemPager &pager)
Allocate array from a memory pager.
void operator delete (void *)
Mempager delete does nothing; the pool purges.
void operator delete[] (void *)
Array mempager delete does nothing; the pool purges.  

Detailed Description

This class is used to create derived classes which are constructed within a memory pager pool.

create objects in a memory pager.

Author:

David Sugar <dyfet@ostel.com>

 

Member Function Documentation

 

void ost::MemPagerObject::operator delete (void *) [inline]

Mempager delete does nothing; the pool purges.  

void ost::MemPagerObject::operator delete[] (void *) [inline]

Array mempager delete does nothing; the pool purges.  

void* ost::MemPagerObject::operator new (size_t size, MemPager & pager) [inline]

Allocate memory from a memory pager. Parameters:

size of new passed from operator.
pager to allocate from.

References ost::MemPager::alloc().  

void* ost::MemPagerObject::operator new[] (size_t size, MemPager & pager) [inline]

Allocate array from a memory pager. Parameters:

size of new passed from operator.
pager to allocate from.

References ost::MemPager::alloc().

 

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Member Function Documentation
void ost::MemPagerObject::operator delete (void *) [inline]
void ost::MemPagerObject::operator delete[] (void *) [inline]
void* ost::MemPagerObject::operator new (size_t size, MemPager & pager) [inline]
void* ost::MemPagerObject::operator new[] (size_t size, MemPager & pager) [inline]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:51 GMT, April 16, 2011