Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Shapes
ShapeArgs.h
1
#pragma once
2
3
#include "ShapeTypes.h"
4
#include "ShapeEventTypes.h"
5
#include "ModelRepository.h"
6
#include "ShapeModelRepositoryObserver.h"
7
#include "ShapeService.h"
8
#include "ShapeViewController.h"
9
10
namespace
Eegeo
11
{
12
namespace
Shapes
13
{
14
template
<
15
typename
TShapeModel,
16
typename
TShapeModelCreateParams,
17
typename
TShapeView
18
>
19
struct
ShapeArgs
20
{
21
typedef
ShapeArgs<TShapeModel, TShapeModelCreateParams, TShapeView>
ThisType
;
22
23
typedef
TShapeModel ShapeModel;
24
25
typedef
TShapeModelCreateParams ShapeModelCreateParams;
26
27
typedef
TShapeView ShapeView;
28
29
typedef
TShapeEntityRepository<IShapeModel::IdType, TShapeModel>
ShapeModelRepository
;
30
31
typedef
TShapeModelFactory<TShapeModel, TShapeModelCreateParams>
IShapeModelFactory
;
32
33
typedef
TShapeServiceBase<TShapeModel, TShapeModelCreateParams, IShapeModelFactory, ShapeModelRepository>
IShapeService
;
34
35
typedef
TShapeService<IShapeService>
ShapeService
;
36
37
typedef
TShapeViewFactory<TShapeModel, TShapeView>
IShapeViewFactory
;
38
39
typedef
TShapeEntityRepository<IShapeModel::IdType, TShapeView>
ShapeViewRepository
;
40
41
typedef
TShapeModelChangedMessage<TShapeModel>
ShapeModelChangedMessage
;
42
43
typedef
TShapeModelChangedEvent<TShapeModel>
ShapeModelChangedEvent
;
44
45
typedef
TShapeModelAddedEvent<TShapeModel>
ShapeModelAddedEvent
;
46
47
typedef
TShapeModelRemovedEvent<TShapeModel>
ShapeModelRemovedEvent
;
48
49
typedef
TShapeModelRepositoryObserver<ShapeModelRepository, ShapeModelAddedEvent, ShapeModelRemovedEvent>
ShapeModelRepositoryObserver
;
50
51
struct
ShapeControllerArgs
52
{
53
typedef
ShapeModel ShapeModelType;
54
typedef
ShapeView ShapeViewType;
55
typedef
ShapeViewRepository
ShapeViewRepositoryType
;
56
typedef
IShapeViewFactory
ShapeViewFactoryType
;
57
typedef
ShapeModelChangedMessage
ShapeModelChangedMessageType
;
58
typedef
ShapeModelChangedEvent
ShapeModelChangedEventType
;
59
typedef
ShapeModelAddedEvent
ShapeModelAddedEventType
;
60
typedef
ShapeModelRemovedEvent
ShapeModelRemovedEventType
;
61
};
62
63
typedef
TShapeViewController<ShapeControllerArgs>
ShapeController
;
64
};
65
}
66
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1