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 
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:
39 };
40 
42 
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:
69 };
70 
72 
77 {
78 public:
80  ObjectPostDelete(const SceneItem::Ptr& item);
81 
83  ObjectPostDelete(const ObjectPostDelete&) = default;
84 
86  ~ObjectPostDelete() override;
87 };
88 
90 
95 {
96 public:
98  ObjectPreDelete(const SceneItem::Ptr& item);
99 
101  ObjectPreDelete(const ObjectPreDelete&) = default;
102 
104  ~ObjectPreDelete() override;
105 };
106 
108 
115 {
116 public:
119 
121  ObjectPathChange(const ObjectPathChange&) = default;
122 
124  ~ObjectPathChange() override;
125 };
126 
128 
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:
155 };
156 
158 
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:
196 };
197 
199 
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:
225 };
226 
228 
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:
255 };
256 
257 }
258 
259 #endif /* _ufeSceneNotification */
Object renamed scene notification.
Base class for object add scene notifications.
SceneItem::Ptr fItem
Path removed from object scene notification.
const SceneItem::Ptr fItem
Object delete scene notifications that occur before the object is deleted.
Path added to object scene notification.
SceneItem::Ptr fItem
const SceneItem::Ptr fItem
Identify an object or 3D path in the scene.
Definition: path.h:37
Base class for object path change scene notifications.
Object reparented scene notification.
#define UFE_NS_DEF
Definition: ufe.h:35
Base class for all notifications.
Definition: notification.h:27
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:39
const SceneItem::Ptr fItem
Object delete scene notifications that occur after the object was deleted.
Base class for object delete scene notifications.
#define UFE_SDK_DECL
Definition: ufeExport.h:36