ufe
1.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
sceneNotification.h
Go to the documentation of this file.
1
#line 1 "E:/jenkins/workspace/ufe-full-windows/ufe/include/sceneNotification.h"
2
#ifndef _ufeSceneNotification
3
#define _ufeSceneNotification
4
// ===========================================================================
5
// Copyright 2018 Autodesk, Inc. All rights reserved.
6
//
7
// Use of this software is subject to the terms of the Autodesk license
8
// agreement provided at the time of installation or download, or which
9
// otherwise accompanies this software in either electronic or hard copy form.
10
// ===========================================================================
11
12
#include "
notification.h
"
13
#include "
sceneItem.h
"
14
15
UFE_NS_DEF
{
16
18
22
class
UFE_SDK_DECL
ObjectAdd
:
public
Notification
23
{
24
public
:
26
ObjectAdd
(
const
SceneItem::Ptr
& item);
27
29
ObjectAdd
(
const
ObjectAdd
&) =
default
;
30
32
~
ObjectAdd
()
override
;
33
35
SceneItem::Ptr
item()
const
;
36
37
private
:
38
SceneItem::Ptr
fItem
;
39
};
40
42
52
class
UFE_SDK_DECL
ObjectDelete
:
public
Notification
53
{
54
public
:
56
ObjectDelete
(
const
SceneItem::Ptr
& item);
57
59
ObjectDelete
(
const
ObjectDelete
&) =
default
;
60
62
~
ObjectDelete
()
override
;
63
65
SceneItem::Ptr
item()
const
;
66
67
private
:
68
SceneItem::Ptr
fItem
;
69
};
70
72
76
class
UFE_SDK_DECL
ObjectPostDelete
:
public
ObjectDelete
77
{
78
public
:
80
ObjectPostDelete
(
const
SceneItem::Ptr
& item);
81
83
ObjectPostDelete
(
const
ObjectPostDelete
&) =
default
;
84
86
~
ObjectPostDelete
()
override
;
87
};
88
90
94
class
UFE_SDK_DECL
ObjectPreDelete
:
public
ObjectDelete
95
{
96
public
:
98
ObjectPreDelete
(
const
SceneItem::Ptr
& item);
99
101
ObjectPreDelete
(
const
ObjectPreDelete
&) =
default
;
102
104
~
ObjectPreDelete
()
override
;
105
};
106
108
114
class
UFE_SDK_DECL
ObjectPathChange
:
public
Notification
115
{
116
public
:
118
ObjectPathChange
();
119
121
ObjectPathChange
(
const
ObjectPathChange
&) =
default
;
122
124
~
ObjectPathChange
()
override
;
125
};
126
128
134
class
UFE_SDK_DECL
ObjectRename
:
public
ObjectPathChange
135
{
136
public
:
138
ObjectRename
(
const
SceneItem::Ptr
& item,
const
Path
& previousPath);
139
141
ObjectRename
(
const
ObjectRename
&) =
default
;
142
144
~
ObjectRename
()
override
;
145
147
SceneItem::Ptr
item()
const
;
148
150
Path
previousPath()
const
;
151
152
private
:
153
const
SceneItem::Ptr
fItem
;
154
const
Path
fPreviousPath
;
155
};
156
158
175
class
UFE_SDK_DECL
ObjectReparent
:
public
ObjectPathChange
176
{
177
public
:
179
ObjectReparent
(
const
SceneItem::Ptr
& item,
const
Path
& previousPath);
180
182
ObjectReparent
(
const
ObjectReparent
&) =
default
;
183
185
~
ObjectReparent
()
override
;
186
188
SceneItem::Ptr
item()
const
;
189
191
Path
previousPath()
const
;
192
193
private
:
194
const
SceneItem::Ptr
fItem
;
195
const
Path
fPreviousPath
;
196
};
197
199
208
class
UFE_SDK_DECL
ObjectPathAdd
:
public
ObjectPathChange
209
{
210
public
:
212
ObjectPathAdd
(
const
SceneItem::Ptr
& item);
213
215
ObjectPathAdd
(
const
ObjectPathAdd
&) =
default
;
216
218
~
ObjectPathAdd
()
override
;
219
221
SceneItem::Ptr
item()
const
;
222
223
private
:
224
const
SceneItem::Ptr
fItem
;
225
};
226
228
238
class
UFE_SDK_DECL
ObjectPathRemove
:
public
ObjectPathChange
239
{
240
public
:
242
ObjectPathRemove
(
const
Path
& removedPath);
243
245
ObjectPathRemove
(
const
ObjectPathRemove
&) =
default
;
246
248
~
ObjectPathRemove
()
override
;
249
251
Path
removedPath()
const
;
252
253
private
:
254
const
Path
fRemovedPath
;
255
};
256
257
}
258
259
#endif
/* _ufeSceneNotification */
Ufe::ObjectRename
Object renamed scene notification.
Definition:
sceneNotification.h:134
Ufe::ObjectAdd
Base class for object add scene notifications.
Definition:
sceneNotification.h:22
Ufe::ObjectAdd::fItem
SceneItem::Ptr fItem
Definition:
sceneNotification.h:38
Ufe::ObjectPathRemove
Path removed from object scene notification.
Definition:
sceneNotification.h:238
Ufe::ObjectReparent::fItem
const SceneItem::Ptr fItem
Definition:
sceneNotification.h:194
Ufe::ObjectPreDelete
Object delete scene notifications that occur before the object is deleted.
Definition:
sceneNotification.h:94
Ufe::ObjectPathAdd
Path added to object scene notification.
Definition:
sceneNotification.h:208
Ufe::ObjectDelete::fItem
SceneItem::Ptr fItem
Definition:
sceneNotification.h:68
Ufe::ObjectRename::fItem
const SceneItem::Ptr fItem
Definition:
sceneNotification.h:153
notification.h
Ufe::Path
Identify an object or 3D path in the scene.
Definition:
path.h:37
Ufe::ObjectPathChange
Base class for object path change scene notifications.
Definition:
sceneNotification.h:114
sceneItem.h
Ufe::ObjectReparent
Object reparented scene notification.
Definition:
sceneNotification.h:175
UFE_NS_DEF
#define UFE_NS_DEF
Definition:
ufe.h:35
Ufe::Notification
Base class for all notifications.
Definition:
notification.h:27
Ufe::SceneItem::Ptr
std::shared_ptr< SceneItem > Ptr
Definition:
sceneItem.h:39
Ufe::ObjectPathAdd::fItem
const SceneItem::Ptr fItem
Definition:
sceneNotification.h:224
Ufe::ObjectPostDelete
Object delete scene notifications that occur after the object was deleted.
Definition:
sceneNotification.h:76
Ufe::ObjectDelete
Base class for object delete scene notifications.
Definition:
sceneNotification.h:52
Ufe::ObjectReparent::fPreviousPath
const Path fPreviousPath
Definition:
sceneNotification.h:195
Ufe::ObjectRename::fPreviousPath
const Path fPreviousPath
Definition:
sceneNotification.h:154
UFE_SDK_DECL
#define UFE_SDK_DECL
Definition:
ufeExport.h:36
Ufe::ObjectPathRemove::fRemovedPath
const Path fRemovedPath
Definition:
sceneNotification.h:254
include
ufe
sceneNotification.h
Generated on Fri Nov 9 2018 13:52:06 for ufe by
1.8.13