Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
Interiors
Props
PropResourceWebLoaderRequest.h
1
#pragma once
2
3
#include <string.h>
4
#include "PropStreamingService.h"
5
#include "PropResourceWebLoader.h"
6
7
namespace
Eegeo
8
{
9
namespace
Resources
10
{
11
namespace
Interiors
12
{
13
class
PropResourceWebLoaderRequest
:
public
PropResourceWebLoader::IPropResourceCallback
14
{
15
public
:
16
PropResourceWebLoaderRequest
(
17
const
std::string& resourceId,
18
const
std::string& url,
19
PropStreamingService::ILoadMeshCallback
& loadMeshCallback,
20
PropResourceWebLoader
& propResourceWebLoader);
21
22
virtual
~
PropResourceWebLoaderRequest
();
23
24
virtual
void
Execute();
25
26
virtual
void
operator() (
const
PropResourceWebLoaderResult
& webLoaderResult)
const
;
27
28
const
std::string& GetUrl()
const
{
return
m_url; }
29
30
const
std::string& GetResourceId()
const
{
return
m_resourceId; }
31
32
const
bool
IsCancelled()
const
{
return
m_isCancelled; }
33
34
private
:
35
36
const
std::string m_resourceId;
37
const
std::string m_url;
38
PropStreamingService::ILoadMeshCallback
& m_loadMeshCallback;
39
PropResourceWebLoader
& m_propResourceWebLoader;
40
bool
m_isCancelled;
41
};
42
}
43
}
44
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1