artefaktur
software engineer &        architecture

 
 
 
 

class PagedAllocatorPage

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::PagedAllocatorPage Class Reference

#include <PagedAllocator.h>

List of all members.


Public Types

enum  { Magic = 0xdcba }
enum  Flags { Standard = 0, Raw = 1 }

Public Member Functions

 PagedAllocatorPage (PagedAllocator *allocator, int size, short flags, PagedAllocatorPage *prev=0, PagedAllocatorPage *next=0)
int getFreeCapacity ()
int _getFreeCapacity ()
bool hasCapacity (int size)
bool _hasCapacity (int size)
void * allocate (int size, short flags)
void * _allocate (int size, short flags)
void _deallocatePage ()
void _deallocateSlot (PagedAllocatorPageSlot *ps)
void _checkMagic ()

Public Attributes

short _magic
short _flags
PagedAllocator_allocator
int _size
int _sync
PagedAllocatorPage_prev
PagedAllocatorPage_next
PagedAllocatorPageSlot_first
PagedAllocatorPageSlot_last

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Magic 

enum acdk::lang::sys::PagedAllocatorPage::Flags
 

Enumeration values:
Standard  Standard page with page slots.
Raw 

Constructor & Destructor Documentation

acdk::lang::sys::PagedAllocatorPage::PagedAllocatorPage PagedAllocator allocator,
int  size,
short  flags,
PagedAllocatorPage prev = 0,
PagedAllocatorPage next = 0
[inline]
 


Member Function Documentation

void* acdk::lang::sys::PagedAllocatorPage::_allocate int  size,
short  flags
[inline]
 

void acdk::lang::sys::PagedAllocatorPage::_checkMagic  )  [inline]
 

void acdk::lang::sys::PagedAllocatorPage::_deallocatePage  )  [inline]
 

void acdk::lang::sys::PagedAllocatorPage::_deallocateSlot PagedAllocatorPageSlot ps  )  [inline]
 

int acdk::lang::sys::PagedAllocatorPage::_getFreeCapacity  )  [inline]
 

bool acdk::lang::sys::PagedAllocatorPage::_hasCapacity int  size  )  [inline]
 

void* acdk::lang::sys::PagedAllocatorPage::allocate int  size,
short  flags
[inline]
 

int acdk::lang::sys::PagedAllocatorPage::getFreeCapacity  )  [inline]
 

bool acdk::lang::sys::PagedAllocatorPage::hasCapacity int  size  )  [inline]
 


Member Data Documentation

PagedAllocator* acdk::lang::sys::PagedAllocatorPage::_allocator
 

PagedAllocatorPageSlot* acdk::lang::sys::PagedAllocatorPage::_first
 

short acdk::lang::sys::PagedAllocatorPage::_flags
 

PagedAllocatorPageSlot* acdk::lang::sys::PagedAllocatorPage::_last
 

short acdk::lang::sys::PagedAllocatorPage::_magic
 

PagedAllocatorPage* acdk::lang::sys::PagedAllocatorPage::_next
 

PagedAllocatorPage* acdk::lang::sys::PagedAllocatorPage::_prev
 

int acdk::lang::sys::PagedAllocatorPage::_size
 

int acdk::lang::sys::PagedAllocatorPage::_sync
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer