openMSX
Classes | Public Member Functions | Static Public Member Functions | List of all members
openmsx::MemoryOps::AllocMap Class Reference

Aligned memory (de)allocation. More...

Public Member Functions

 AllocMap (const AllocMap &)=delete
 
 AllocMap (AllocMap &&)=delete
 
AllocMapoperator= (const AllocMap &)=delete
 
AllocMapoperator= (AllocMap &&)=delete
 
void insert (void *, void *unaligned)
 
void * remove (void *)
 

Static Public Member Functions

static AllocMapinstance ()
 

Detailed Description

Aligned memory (de)allocation.

Definition at line 43 of file MemoryOps.cc.

Constructor & Destructor Documentation

◆ AllocMap() [1/2]

openmsx::MemoryOps::AllocMap::AllocMap ( const AllocMap )
delete

◆ AllocMap() [2/2]

openmsx::MemoryOps::AllocMap::AllocMap ( AllocMap &&  )
delete

Member Function Documentation

◆ insert()

void openmsx::MemoryOps::AllocMap::insert ( void *  ,
void *  unaligned 
)
inline

Definition at line 56 of file MemoryOps.cc.

References contains().

Referenced by openmsx::MemoryOps::mallocAligned().

◆ instance()

static AllocMap & openmsx::MemoryOps::AllocMap::instance ( )
inlinestatic

◆ operator=() [1/2]

AllocMap & openmsx::MemoryOps::AllocMap::operator= ( AllocMap &&  )
delete

◆ operator=() [2/2]

AllocMap & openmsx::MemoryOps::AllocMap::operator= ( const AllocMap )
delete

◆ remove()

void * openmsx::MemoryOps::AllocMap::remove ( void *  )
inline

Definition at line 62 of file MemoryOps.cc.

References move_pop_back(), and rfind_unguarded().

Referenced by openmsx::MemoryOps::freeAligned().


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