1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/sceneNotification.h"
2#ifndef _ufeSceneNotification
3#define _ufeSceneNotification
102 None = SubOpTypeNone,
215 None = SubOpTypeNone,
431 : opType(opTypeArg), subOpType(subOpTypeArg){}
434 : opType(opTypeArg), item(itemArg),
path(itemArg->
path()) {}
437 : opType(opTypeArg), subOpType(subOpTypeArg), item(itemArg),
path(itemArg->
path()) {}
440 : opType(opTypeArg),
path(pathArg){}
443 : opType(opTypeArg), subOpType(subOpTypeArg),
path(pathArg){}
446 : opType(opTypeArg), subOpType(subOpTypeArg), item(itemArg),
path(pathArg){}
456 typedef std::list<Op>
Ops;
488 Ops::const_iterator
cend()
const;
489 Ops::const_iterator
end()
const;
Base class for all notifications.
Base class for object add scene notifications.
const SceneItem::Ptr fItem
ObjectAdd(const SceneItem::Ptr &item)
Constructor.
SceneItem::Ptr item() const
ObjectAdd(const ObjectAdd &)=default
Default copy constructor.
Path changedPath() const override
~ObjectAdd() override
Destructor.
Base class for object delete scene notifications.
ObjectDelete(const Path &path)
Constructor.
Path changedPath() const override
ObjectDelete(const Path &path, SubOpType objectDeleteOpType)
Constructor.
const SubOpType fSubOpType
SubOpStorageType subOpType() const override
~ObjectDelete() override
Destructor.
ObjectDelete(const ObjectDelete &)=default
Default copy constructor.
Object destroyed scene notification that occurs once an object is destroyed.
ObjectDestroyed(const Path &path)
Constructor.
~ObjectDestroyed() override
Destructor.
ObjectDestroyed(const ObjectDestroyed &)=default
Default copy constructor.
Path added to object scene notification.
Path changedPath() const override
const SceneItem::Ptr fItem
ObjectPathAdd(const SceneItem::Ptr &item)
Constructor.
~ObjectPathAdd() override
Destructor.
ObjectPathAdd(const ObjectPathAdd &)=default
Default copy constructor.
SceneItem::Ptr item() const
Base class for object path change scene notifications.
ObjectPathChange(SubOpType objectPathChangeOpType)
Constructor.
SubOpStorageType subOpType() const override
~ObjectPathChange() override
Destructor.
ObjectPathChange()
Constructor.
ObjectPathChange(const ObjectPathChange &)=default
Default copy constructor.
const SubOpType fSubOpType
Path removed from object scene notification.
Path changedPath() const override
ObjectPathRemove(const ObjectPathRemove &)=default
Default copy constructor.
ObjectPathRemove(const Path &removedPath)
Constructor.
~ObjectPathRemove() override
Destructor.
Object delete scene notifications that occur after the object was deleted.
SceneItem::Ptr item() const
~ObjectPostDelete() override
Destructor.
const SceneItem::Ptr fItem
ObjectPostDelete(const SceneItem::Ptr &item)
Constructor.
ObjectPostDelete(const ObjectPostDelete &)=default
Default copy constructor.
Object delete scene notifications that occur before the object is deleted.
ObjectPreDelete(const ObjectPreDelete &)=default
Default copy constructor.
ObjectPreDelete(const SceneItem::Ptr &item)
Constructor.
const SceneItem::Ptr fItem
SceneItem::Ptr item() const
~ObjectPreDelete() override
Destructor.
Object renamed scene notification.
const SceneItem::Ptr fItem
SceneItem::Ptr item() const
ObjectRename(const SceneItem::Ptr &item, const Path &previousPath)
Constructor.
Path changedPath() const override
ObjectRename(const ObjectRename &)=default
Default copy constructor.
~ObjectRename() override
Destructor.
Path previousPath() const
Object reparented scene notification.
SceneItem::Ptr item() const
ObjectReparent(const SceneItem::Ptr &item, const Path &previousPath)
Constructor.
~ObjectReparent() override
Destructor.
ObjectReparent(const ObjectReparent &)=default
Default copy constructor.
const SceneItem::Ptr fItem
Path previousPath() const
Path changedPath() const override
Identify an object or 3D path in the scene.
Base class for all scene notifications.
~SceneChanged() override
Destructor.
SceneChanged(OpType opType)
Constructor.
virtual SubOpStorageType subOpType() const
virtual Path changedPath() const
SceneChanged(const SceneChanged &)=default
Default copy constructor.
unsigned char SubOpStorageType
SceneChanged composite notification.
Ops::const_iterator begin() const
void appendSceneChanged(const SceneChanged &sceneChanged)
Ops::const_iterator cbegin() const
Iteration interface on operations.
Ops::const_iterator end() const
void appendOp(const Op &op)
SceneCompositeNotification()
Constructor.
Ops::const_iterator cend() const
SceneCompositeNotification(const SceneCompositeNotification &)=default
Default copy constructor.
~SceneCompositeNotification() override
Destructor.
Path changedPath() const override
std::shared_ptr< SceneItem > Ptr
Subtree invalidate notification.
SubtreeInvalidate(const SceneItem::Ptr &item)
Constructor.
SubtreeInvalidate(const SubtreeInvalidate &)=default
Default copy constructor.
const SceneItem::Ptr fRoot
Path changedPath() const override
~SubtreeInvalidate() override
Destructor.
SceneItem::Ptr root() const
Path path(const std::string &pathString)
SubOpStorageType subOpType
Op(const SceneChanged &sceneChanged)
Op(OpType opTypeArg, const Path &pathArg)
Op(OpType opTypeArg, const SceneItem::Ptr &itemArg)
Op(OpType opTypeArg, SubOpStorageType subOpTypeArg)
Op(OpType opTypeArg, SubOpStorageType subOpTypeArg, const SceneItem::Ptr &itemArg)
Op(OpType opTypeArg, SubOpStorageType subOpTypeArg, const SceneItem::Ptr &itemArg, const Path &pathArg)
Op(OpType opTypeArg, SubOpStorageType subOpTypeArg, const Path &pathArg)