MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / load

Method load

Cesium3DTilesReader/src/SubtreeFileReader.cpp:41–51  ·  view source on GitHub ↗

[async-system-store-in-lambda]

Source from the content-addressed store, hash-verified

39
40//! [async-system-store-in-lambda]
41Future<ReadJsonResult<Cesium3DTiles::Subtree>> SubtreeFileReader::load(
42 const AsyncSystem& asyncSystem,
43 const std::shared_ptr<IAssetAccessor>& pAssetAccessor,
44 const std::string& url,
45 const std::vector<IAssetAccessor::THeader>& headers) const noexcept {
46 return pAssetAccessor->get(asyncSystem, url, headers)
47 .thenInWorkerThread([asyncSystem, pAssetAccessor, this](
48 std::shared_ptr<IAssetRequest>&& pRequest) {
49 return this->load(asyncSystem, pAssetAccessor, pRequest);
50 });
51}
52//! [async-system-store-in-lambda]
53
54Future<ReadJsonResult<Subtree>> SubtreeFileReader::load(

Callers 2

loadSubtreeMethod · 0.45

Calls 11

loadBinaryMethod · 0.95
loadJsonMethod · 0.95
formatFunction · 0.85
thenInWorkerThreadMethod · 0.45
getMethod · 0.45
responseMethod · 0.45
statusCodeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected