Grok 20.3.2
grk::TileFetchContext Struct Reference

#include <CurlFetcher.h>

Inheritance diagram for grk::TileFetchContext:

Public Member Functions

 TileFetchContext (std::shared_ptr< TPFetchSeq > &requests, void *user_data, std::shared_ptr< std::unordered_map< uint16_t, std::shared_ptr< TPFetchSeq > > > &tilePartFetchByTile, TileFetchCallback callback, IFetcher *fetcher)
void incrementCompleteCount ()

Public Attributes

std::shared_ptr< TPFetchSeqrequests_
void * user_data_ = nullptr
std::shared_ptr< std::unordered_map< uint16_t, std::shared_ptr< TPFetchSeq > > > tilePartFetchByTile_
TileFetchCallback callback_
IFetcherfetcher_ = nullptr

Private Attributes

size_t completeCount_ = 0

Constructor & Destructor Documentation

◆ TileFetchContext()

grk::TileFetchContext::TileFetchContext ( std::shared_ptr< TPFetchSeq > & requests,
void * user_data,
std::shared_ptr< std::unordered_map< uint16_t, std::shared_ptr< TPFetchSeq > > > & tilePartFetchByTile,
TileFetchCallback callback,
IFetcher * fetcher )
inline

Member Function Documentation

◆ incrementCompleteCount()

void grk::TileFetchContext::incrementCompleteCount ( )
inline

References completeCount_, fetcher_, and requests_.

Member Data Documentation

◆ callback_

TileFetchCallback grk::TileFetchContext::callback_

Referenced by TileFetchContext().

◆ completeCount_

size_t grk::TileFetchContext::completeCount_ = 0
mutableprivate

Referenced by incrementCompleteCount().

◆ fetcher_

IFetcher* grk::TileFetchContext::fetcher_ = nullptr

◆ requests_

std::shared_ptr<TPFetchSeq> grk::TileFetchContext::requests_

◆ tilePartFetchByTile_

std::shared_ptr<std::unordered_map<uint16_t, std::shared_ptr<TPFetchSeq> > > grk::TileFetchContext::tilePartFetchByTile_

Referenced by TileFetchContext().

◆ user_data_

void* grk::TileFetchContext::user_data_ = nullptr

Referenced by TileFetchContext().


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