Blender V5.3
blender::RemoteLibraryRequest Struct Reference

#include <filelist_readjob.hh>

Public Attributes

std::string dirpath
std::atomic< bool > cancel = false
std::atomic< bool > is_downloading = false
std::optional< asset_system::RemoteLibraryLoadingStatus::FileSystemTimePoint > request_time
std::atomic< bool > metafiles_in_place = false
asset_system::RemoteLibraryLoadingStatus::TimePoint last_new_pages_time
std::atomic< bool > new_pages_available = false

Detailed Description

Definition at line 36 of file filelist_readjob.hh.

Member Data Documentation

◆ cancel

std::atomic<bool> blender::RemoteLibraryRequest::cancel = false

◆ dirpath

std::string blender::RemoteLibraryRequest::dirpath

Directory the asset library files should be stored in (#bUserAssetLibrary.dirpath).

Definition at line 38 of file filelist_readjob.hh.

Referenced by blender::filelist_readjob_remote_asset_library_index_read().

◆ is_downloading

std::atomic<bool> blender::RemoteLibraryRequest::is_downloading = false

Is this asset library tagged as loading externally? Used for remote asset libraries to keep the filelist loading running while the library is being downloaded by other code.

Definition at line 45 of file filelist_readjob.hh.

Referenced by blender::filelist_readjob_remote_asset_library_index_read(), blender::filelist_remote_asset_library_update_loading_flags(), and blender::remote_asset_library_load().

◆ last_new_pages_time

asset_system::RemoteLibraryLoadingStatus::TimePoint blender::RemoteLibraryRequest::last_new_pages_time

◆ metafiles_in_place

std::atomic<bool> blender::RemoteLibraryRequest::metafiles_in_place = false

◆ new_pages_available

std::atomic<bool> blender::RemoteLibraryRequest::new_pages_available = false

◆ request_time

std::optional<asset_system::RemoteLibraryLoadingStatus::FileSystemTimePoint> blender::RemoteLibraryRequest::request_time
Initial value:
=
std::nullopt

When downloading remote library pages, ignore pages older than this. They are from a previous download still. Uses the file system clock since others are not fit for file time-stamp comparisons.

Definition at line 50 of file filelist_readjob.hh.

Referenced by blender::filelist_readjob_remote_asset_library_index_read().


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