![]() |
ufe 6.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Object reparented scene notification. More...
#include <sceneNotification.h>
Public Member Functions | |
ObjectReparent (const SceneItem::Ptr &item, const Path &previousPath) | |
Constructor. More... | |
ObjectReparent (const ObjectReparent &)=default | |
Default copy constructor. More... | |
~ObjectReparent () override | |
Destructor. More... | |
SceneItem::Ptr | item () const |
Path | previousPath () const |
Path | changedPath () const override |
![]() | |
ObjectPathChange () | |
Constructor. More... | |
ObjectPathChange (const ObjectPathChange &)=default | |
Default copy constructor. More... | |
~ObjectPathChange () override | |
Destructor. More... | |
SubOpStorageType | subOpType () const override |
![]() | |
SceneChanged (const SceneChanged &)=default | |
Default copy constructor. More... | |
~SceneChanged () override | |
Destructor. More... | |
virtual Path | changedPath () const |
OpType | opType () const |
virtual SubOpStorageType | subOpType () const |
![]() | |
Notification () | |
Constructor. More... | |
Notification (const Notification &)=default | |
Default copy constructor. More... | |
virtual | ~Notification () |
Destructor. More... | |
template<typename T > | |
const T & | staticCast () const |
Private Attributes | |
const SceneItem::Ptr | fItem |
const Path | fPreviousPath |
Additional Inherited Members | |
![]() | |
enum | SubOpType : SubOpStorageType { None = SubOpTypeNone , ObjectRename , ObjectReparent , ObjectPathAdd , ObjectPathRemove } |
![]() | |
enum | OpType : unsigned char { ObjectAdd , ObjectDelete , ObjectPathChange , SubtreeInvalidate , SceneCompositeNotification } |
using | SubOpStorageType = unsigned char |
![]() | |
static constexpr SubOpStorageType | SubOpTypeNone = 0 |
![]() | |
ObjectPathChange (SubOpType objectPathChangeOpType) | |
Constructor. More... | |
![]() | |
SceneChanged (OpType opType) | |
Constructor. More... | |
![]() | |
const SubOpType | fSubOpType |
Object reparented scene notification.
A reparent notification is a path change notification where one or more components, including the tail, are changed. Conceptually, it is sent when the tail component object is given a new parent. However, because child names must be unique, the tail component can also be changed if there is an existing child with the same name under the new parent. Implicitly, all children of the reparented object have their paths changed; no notification is sent for this.
Should have been implemented using a type alias:
using ObjectReparent = ObjectRename;
See sceneItemOps.h for description of pybind11 problems encountered with this approach. PPT, 13-Aug-2018.
Definition at line 291 of file sceneNotification.h.
Ufe::ObjectReparent::ObjectReparent | ( | const SceneItem::Ptr & | item, |
const Path & | previousPath | ||
) |
Constructor.
|
default |
Default copy constructor.
|
override |
Destructor.
|
overridevirtual |
Reimplemented from Ufe::SceneChanged.
SceneItem::Ptr Ufe::ObjectReparent::item | ( | ) | const |
Path Ufe::ObjectReparent::previousPath | ( | ) | const |
|
private |
Definition at line 313 of file sceneNotification.h.
|
private |
Definition at line 314 of file sceneNotification.h.