Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Unity
UnityPropResourceRepositoryObserver.h
1
#pragma once
2
3
#include <string>
4
#include "ICallback.h"
5
#include "Rendering.h"
6
#include "Interiors.h"
7
8
namespace
Eegeo
9
{
10
namespace
Unity
11
{
12
class
UnityPropResourceRepositoryObserver
13
{
14
public
:
15
16
UnityPropResourceRepositoryObserver
(
Rendering::IMeshUploadService
& meshUploadService);
17
18
void
StartObserving(
Resources::Interiors::PropResourceRepository
& resourceRepository);
19
20
void
StopObserving(
Resources::Interiors::PropResourceRepository
& resourceRepository);
21
22
private
:
23
24
void
OnPropResourceRemoved(
const
std::string& propResourceId);
25
26
Resources::Interiors::PropResourceRepository
* m_pPropResourceRepository;
27
Helpers::TCallback1<UnityPropResourceRepositoryObserver, const std::string>
m_propResourceRemovedCallback;
28
Rendering::IMeshUploadService
& m_meshUploadService;
29
};
30
}
31
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1