A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-loadable.html below:

Loadable Class | ArcGIS Maps SDK for Qt

Marker interface inherited by classes that can load metadata asynchronously. More...

Detailed Description

A pure virtual interface implemented by classes whose objects can load metadata asynchronously, for example, from a remote network location or the local file system. A resource that is capable of loading its metadata asynchronously is referred to as a loadable. Such a resource could represent a remote service or a dataset on disk. Call load() to initiate loading. The loadStatus() property reflects the status of the load operation. All classes that implement Loadable include two signals.

void Loadable::doneLoading(Esri::ArcGISRuntime::Error error)
void Loadable::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)
Member Function Documentation [protected] Loadable::Loadable()

Constructor.

[virtual noexcept] Loadable::~Loadable()

Destructor.

[pure virtual] void Loadable::cancelLoad()

Cancels loading the metadata if the object is loading. The loadStatus() property reflects the status of the load operation.

[pure virtual] void Loadable::load()

Loads metadata for the object asynchronously.

You can call this method any number of times, however only one attempt is made to load the metadata. Loads the metadata if the object is not loaded. If it is already loading, it will just continue to load (i.e., not force a reload). If it has already loaded successfully nothing will happen.

If it has already failed to load, you can call retryLoad(). The loadStatus() property reflects the status of the load operation.

[pure virtual] Esri::ArcGISRuntime::Error Loadable::loadError() const

Gets the current loadError.

Returns the error that was encountered during the most recent load operation. Will be empty if the operation succeeded.

[pure virtual] Esri::ArcGISRuntime::LoadStatus Loadable::loadStatus() const

Gets the current loadStatus.

Returns the current LoadStatus.

[pure virtual] void Loadable::retryLoad()

Loads or retries loading metadata for the object asynchronously.

Will retry loading the metadata if the object is failed to load. Will load the object if it is not loaded. Will not retry to load the object if the object is loaded.

This method should be called judiciously. It should be called when:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4