Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::asset_watcher Class Reference

#include <asset_watcher.h>

Public Member Functions

 asset_watcher ()
 
 ~asset_watcher ()
 
auto init (rtti::context &ctx) -> bool
 
auto deinit (rtti::context &ctx) -> bool
 
void watch_assets (rtti::context &ctx, const std::string &protocol, bool wait=false, const on_wait_progress_t &on_progress=nullptr)
 
void unwatch_assets (rtti::context &ctx, const std::string &protocol)
 
void recreate_meta_files (rtti::context &ctx, const std::string &protocol)
 
auto get_pending_jobs_count (rtti::context &ctx) const -> size_t
 

Detailed Description

Definition at line 16 of file asset_watcher.h.

Constructor & Destructor Documentation

◆ asset_watcher()

unravel::asset_watcher::asset_watcher ( )

Definition at line 776 of file asset_watcher.cpp.

◆ ~asset_watcher()

unravel::asset_watcher::~asset_watcher ( )

Definition at line 780 of file asset_watcher.cpp.

Member Function Documentation

◆ deinit()

auto unravel::asset_watcher::deinit ( rtti::context & ctx) -> bool

Definition at line 817 of file asset_watcher.cpp.

◆ get_pending_jobs_count()

auto unravel::asset_watcher::get_pending_jobs_count ( rtti::context & ctx) const -> size_t

Definition at line 877 of file asset_watcher.cpp.

◆ init()

auto unravel::asset_watcher::init ( rtti::context & ctx) -> bool

Definition at line 807 of file asset_watcher.cpp.

◆ recreate_meta_files()

void unravel::asset_watcher::recreate_meta_files ( rtti::context & ctx,
const std::string & protocol )

Definition at line 883 of file asset_watcher.cpp.

◆ unwatch_assets()

void unravel::asset_watcher::unwatch_assets ( rtti::context & ctx,
const std::string & protocol )

Definition at line 857 of file asset_watcher.cpp.

◆ watch_assets()

void unravel::asset_watcher::watch_assets ( rtti::context & ctx,
const std::string & protocol,
bool wait = false,
const on_wait_progress_t & on_progress = nullptr )

Definition at line 824 of file asset_watcher.cpp.


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