Blender V5.0
FileListEntryCache Struct Reference

#include <filelist_intern.hh>

Public Member Functions

 FileListEntryCache ()
 ~FileListEntryCache ()

Public Attributes

size_t size = 0
int flags = 0
ListBase cached_entries = {}
FileDirEntry ** block_entries = nullptr
int block_start_index = 0
int block_end_index = 0
int block_center_index = 0
int block_cursor = 0
int misc_cursor = 0
int * misc_entries_indices = nullptr
GHashmisc_entries = nullptr
GHashuids = nullptr
TaskPoolpreviews_pool = nullptr
ThreadQueuepreviews_done = nullptr
int previews_todo_count = 0

Detailed Description

Definition at line 119 of file filelist_intern.hh.

Constructor & Destructor Documentation

◆ FileListEntryCache()

◆ ~FileListEntryCache()

Member Data Documentation

◆ block_center_index

int FileListEntryCache::block_center_index = 0

Definition at line 132 of file filelist_intern.hh.

Referenced by filelist_cache_clear(), and filelist_file_cache_block().

◆ block_cursor

int FileListEntryCache::block_cursor = 0

◆ block_end_index

int FileListEntryCache::block_end_index = 0

Definition at line 131 of file filelist_intern.hh.

Referenced by filelist_cache_clear(), and filelist_file_cache_block().

◆ block_entries

◆ block_start_index

int FileListEntryCache::block_start_index = 0

◆ cached_entries

◆ flags

◆ misc_cursor

int FileListEntryCache::misc_cursor = 0

Definition at line 137 of file filelist_intern.hh.

Referenced by filelist_file_ex().

◆ misc_entries

◆ misc_entries_indices

int* FileListEntryCache::misc_entries_indices = nullptr

◆ previews_done

◆ previews_pool

◆ previews_todo_count

int FileListEntryCache::previews_todo_count = 0

Counter for previews that are not fully loaded and ready to display yet. So includes all previews either in previews_pool or previews_done. filelist_cache_previews_update() makes previews in preview_done ready for display, so the counter is decremented there.

Definition at line 150 of file filelist_intern.hh.

Referenced by filelist_cache_preview_ensure_running(), filelist_cache_previews_clear(), filelist_cache_previews_done(), filelist_cache_previews_free(), filelist_cache_previews_push(), filelist_cache_previews_set(), and filelist_cache_previews_update().

◆ size

◆ uids


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