VertexDataBook

class VertexDataBook

A collection of VertexDataPages, which can be used to allocate new VertexDataBlock objects.

Inheritance diagram

digraph inheritance6c8ac9ba28 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "VertexDataBook" [URL="acron.core.VertexDataBook.html#acron.core.VertexDataBook",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "VertexDataBook" [arrowsize=0.75,style=""]; }
VertexDataBook.__init__()
VertexDataBook.alloc()

Allocates and returns a new VertexDataBuffer of the requested size.

VertexDataBook.count_allocated_size()

Returns the total size of all bytes allocated within pages owned by this book.

Returns the total size of all bytes allocated within pages owned by this book that have the indicated ram class.

VertexDataBook.count_total_page_size()

Returns the total size of all bytes owned by all pages owned by this book.

Returns the total size of all bytes owned by all pages owned by this book that have the indicated ram class.

VertexDataBook.get_num_pages()

Returns the number of pages created for the book.

VertexDataBook.save_to_disk()

Writes all pages to disk immediately, just in case they get evicted later. It makes sense to make this call just before taking down a loading screen, to minimize chugs from saving pages inadvertently later.