SyTen

◆ operator()() [2/3]

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

Returns a const reference to the object.

If necessary, loads the object from file but keeps the file around in case it is not changed further.

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

+ Here is the call graph for this function: