Loading...
Searching...
No Matches
Public Member Functions | List of all members
cppgc::internal::PersistentRegion Class Referencefinal

#include <persistent-node.h>

Inheritance diagram for cppgc::internal::PersistentRegion:
[legend]
Collaboration diagram for cppgc::internal::PersistentRegion:
[legend]

Public Member Functions

 PersistentRegion (const HeapBase &heap, const FatalOutOfMemoryHandler &oom_handler)
 
 ~PersistentRegion ()=default
 
 PersistentRegion (const PersistentRegion &)=delete
 
PersistentRegionoperator= (const PersistentRegion &)=delete
 
PersistentNodeAllocateNode (void *owner, TraceRootCallback trace)
 
void FreeNode (PersistentNode *node)
 
- Public Member Functions inherited from cppgc::internal::PersistentRegionBase
 ~PersistentRegionBase ()
 
 PersistentRegionBase (const PersistentRegionBase &)=delete
 
PersistentRegionBaseoperator= (const PersistentRegionBase &)=delete
 
void Iterate (RootVisitor &)
 
size_t NodesInUse () const
 
void ClearAllUsedNodes ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppgc::internal::PersistentRegionBase
 PersistentRegionBase (const FatalOutOfMemoryHandler &oom_handler)
 
PersistentNodeTryAllocateNodeFromFreeList (void *owner, TraceRootCallback trace)
 
void FreeNode (PersistentNode *node)
 
PersistentNodeRefillFreeListAndAllocateNode (void *owner, TraceRootCallback trace)
 

Constructor & Destructor Documentation

◆ PersistentRegion() [1/2]

cppgc::internal::PersistentRegion::PersistentRegion ( const HeapBase &  heap,
const FatalOutOfMemoryHandler &  oom_handler 
)
inline

◆ ~PersistentRegion()

cppgc::internal::PersistentRegion::~PersistentRegion ( )
default

◆ PersistentRegion() [2/2]

cppgc::internal::PersistentRegion::PersistentRegion ( const PersistentRegion )
delete

Member Function Documentation

◆ AllocateNode()

PersistentNode * cppgc::internal::PersistentRegion::AllocateNode ( void *  owner,
TraceRootCallback  trace 
)
inline

◆ FreeNode()

void cppgc::internal::PersistentRegion::FreeNode ( PersistentNode node)
inline

◆ operator=()

PersistentRegion & cppgc::internal::PersistentRegion::operator= ( const PersistentRegion )
delete

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