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
 

Detailed Description

template<typename key_t, typename value_t>
struct colmap::ThreadSafeLRUCache< key_t, value_t >::Entry

Definition at line 99 of file cache.h.

Constructor & Destructor Documentation

◆ Entry()

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

Definition at line 100 of file cache.h.

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

Definition at line 102 of file cache.h.

◆ is_loading

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

Definition at line 103 of file cache.h.

◆ promise

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

Definition at line 101 of file cache.h.


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