SyTen

◆ operator()() [1/3]

template<typename Type >
Type& syten::AsyncCached< Type >::operator() ( )
inline

Returns a reference to the object.

If necessary, loads the object from file and immediately deletes the file, as it would have to be rewritten anyways.

References syten::AsyncCached< Type >::data, syten::AsyncCached< Type >::data_is_loaded, syten::AsyncCached< Type >::delete_file(), syten::AsyncCached< Type >::load(), and syten::logGD().

+ Here is the call graph for this function: