ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::ThreadSafeLRUCache< key_t, value_t >::Entry Struct Reference

#include <cache.h>

Public Member Functions

 Entry ()
 

Public Attributes

std::promise< std::shared_ptr< value_t > > promise
 
std::shared_future< std::shared_ptr< value_t > > future
 
bool is_loading = false
 

Constructor & Destructor Documentation

◆ Entry()

template<typename key_t , typename value_t >
colmap::ThreadSafeLRUCache< key_t, value_t >::Entry::Entry ( )
inline

Member Data Documentation

◆ future

template<typename key_t , typename value_t >
std::shared_future<std::shared_ptr<value_t> > colmap::ThreadSafeLRUCache< key_t, value_t >::Entry::future

◆ is_loading

template<typename key_t , typename value_t >
bool colmap::ThreadSafeLRUCache< key_t, value_t >::Entry::is_loading = false

◆ promise

template<typename key_t , typename value_t >
std::promise<std::shared_ptr<value_t> > colmap::ThreadSafeLRUCache< key_t, value_t >::Entry::promise

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