A resource loading task that can be used to retrieve an image from the network using HTTP or HTTPS.
More...
#include <load_image_task_http.hpp>
|
virtual void | loadFunction (const KzuResourceLoaderThreadContext *context) override |
| A function that performs the resource loading.
|
|
| LoadImageTaskHttp (const string &url, Domain *domain) |
| Constructor.
|
|
virtual | ~LoadImageTaskHttp ()=default |
| dtor
|
|
virtual void | finishFunction (const KzuResourceLoaderThreadContext *context) override |
| A function that is called when the loading is finished.
|
|
virtual ResourceSharedPtr | getResult () override |
| A function that is called to retrieve the result of the loading.
|
|
| LoadImageTask (const string &url, Domain *domain) |
| Constructor.
|
|
virtual | ~LoadImageTask ()=default |
| Desctructor.
|
|
A resource loading task that can be used to retrieve an image from the network using HTTP or HTTPS.
◆ LoadImageTaskHttp()
kanzi::connect::LoadImageTaskHttp::LoadImageTaskHttp |
( |
const string & | url, |
|
|
Domain * | domain ) |
|
explicit |
Constructor.
- Parameters
-
url | HTTP URL of the resource. |
domain | Kanzi UI Domain. |
◆ ~LoadImageTaskHttp()
virtual kanzi::connect::LoadImageTaskHttp::~LoadImageTaskHttp |
( |
| ) |
|
|
virtualdefault |
◆ loadFunction()
virtual void kanzi::connect::LoadImageTaskHttp::loadFunction |
( |
const KzuResourceLoaderThreadContext * | context | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- connect/kanzi_adaptation/http_loaders/load_image_task_http.hpp