Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
OvlAllocator Struct Reference

Classes

struct  Entry
 

Public Member Functions

Status Init ()
 
void Shutdown ()
 
void Associate (HANDLE hFile)
 
OVERLAPPED * Allocate (off_t offset)
 
void Deallocate (OVERLAPPED *ovl)
 
 __declspec (align(MEMORY_ALLOCATION_ALIGNMENT)) SLIST_HEADER freelist
 

Public Attributes

void * storage
 
std::atomic< intptr_t > extant { 0 }
 

Static Public Attributes

static const size_t storageSize = g_PageSize
 

Member Function Documentation

◆ __declspec()

OvlAllocator::__declspec ( align(MEMORY_ALLOCATION_ALIGNMENT)  )

◆ Allocate()

OVERLAPPED * OvlAllocator::Allocate ( off_t  offset)
inline

◆ Associate()

void OvlAllocator::Associate ( HANDLE  hFile)
inline

◆ Deallocate()

void OvlAllocator::Deallocate ( OVERLAPPED *  ovl)
inline

◆ Init()

Status OvlAllocator::Init ( )
inline

◆ Shutdown()

void OvlAllocator::Shutdown ( )
inline

Member Data Documentation

◆ extant

std::atomic<intptr_t> OvlAllocator::extant { 0 }

◆ storage

void* OvlAllocator::storage

◆ storageSize

const size_t OvlAllocator::storageSize = g_PageSize
static

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