![]() |
ufe
3.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
SceneChanged composite notification. More...
#include <sceneNotification.h>
Classes | |
struct | Op |
Public Types | |
enum | OpType { OpType::ObjectAdd, OpType::ObjectDelete, OpType::ObjectPostDelete, OpType::ObjectPreDelete, OpType::ObjectDestroyed, OpType::ObjectRename, OpType::ObjectReparent, OpType::ObjectPathAdd, OpType::ObjectPathRemove, OpType::SubtreeInvalidate } |
typedef std::list< Op > | Ops |
Public Member Functions | |
SceneCompositeNotification () | |
Constructor. More... | |
SceneCompositeNotification (const SceneCompositeNotification &)=default | |
Default copy constructor. More... | |
~SceneCompositeNotification () override | |
Destructor. More... | |
Path | changedPath () const override |
void | appendObjectAdd (const SceneItem::Ptr &item) |
Append an Add operation to the list of operations. More... | |
void | appendObjectDelete (const Path &path) |
Append a Delete operation to the list of operations. More... | |
void | appendObjectPostDelete (const SceneItem::Ptr &item) |
Append a PostDelete operation to the list of operations. More... | |
void | appendObjectPreDelete (const SceneItem::Ptr &item) |
Append a PreDelete operation to the list of operations. More... | |
void | appendObjectDestroyed (const Path &path) |
Append a Destroyed operation to the list of operations. More... | |
void | appendObjectRename (const SceneItem::Ptr &item, const Path &previousPath) |
Append a Rename operation to the list of operations. More... | |
void | appendObjectReparent (const SceneItem::Ptr &item, const Path &previousPath) |
Append a Reparent operation to the list of operations. More... | |
void | appendObjectPathAdd (const SceneItem::Ptr &item) |
Append a PathAdd operation to the list of operations. More... | |
void | appendObjectPathRemove (const Path &path) |
Append a PathRemove operation to the list of operations. More... | |
void | appendSubtreeInvalidate (const SceneItem::Ptr &item) |
Append a SubtreeInvalidate operation to the list of operations. More... | |
Ops | opsList () const |
std::size_t | size () const |
bool | empty () const |
Ops::const_iterator | cbegin () const |
Iteration interface on operations. More... | |
Ops::const_iterator | begin () const |
Iteration interface on operations. More... | |
Ops::const_iterator | cend () const |
Iteration interface on operations. More... | |
Ops::const_iterator | end () const |
Iteration interface on operations. More... | |
Ops::iterator | begin () |
Iteration interface on operations. More... | |
Ops::iterator | end () |
Iteration interface on operations. More... | |
![]() | |
SceneChanged () | |
Constructor. More... | |
SceneChanged (const SceneChanged &)=default | |
Default copy constructor. More... | |
~SceneChanged () override | |
Destructor. More... | |
![]() | |
Notification () | |
Constructor. More... | |
Notification (const Notification &)=default | |
Default copy constructor. More... | |
virtual | ~Notification () |
Destructor. More... | |
Private Attributes | |
Ops | fOps |
SceneChanged composite notification.
This class collects multiple scene change operations inside a single notification. The scene change operations are stored as a list, in the same order as they were performed.
Definition at line 369 of file sceneNotification.h.
typedef std::list<Op> Ufe::SceneCompositeNotification::Ops |
Definition at line 404 of file sceneNotification.h.
|
strong |
Enumerator | |
---|---|
ObjectAdd | |
ObjectDelete | |
ObjectPostDelete | |
ObjectPreDelete | |
ObjectDestroyed | |
ObjectRename | |
ObjectReparent | |
ObjectPathAdd | |
ObjectPathRemove | |
SubtreeInvalidate |
Definition at line 372 of file sceneNotification.h.
Ufe::SceneCompositeNotification::SceneCompositeNotification | ( | ) |
Constructor.
|
default |
Default copy constructor.
|
override |
Destructor.
void Ufe::SceneCompositeNotification::appendObjectAdd | ( | const SceneItem::Ptr & | item | ) |
Append an Add operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectDelete | ( | const Path & | path | ) |
Append a Delete operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectDestroyed | ( | const Path & | path | ) |
Append a Destroyed operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectPathAdd | ( | const SceneItem::Ptr & | item | ) |
Append a PathAdd operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectPathRemove | ( | const Path & | path | ) |
Append a PathRemove operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectPostDelete | ( | const SceneItem::Ptr & | item | ) |
Append a PostDelete operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectPreDelete | ( | const SceneItem::Ptr & | item | ) |
Append a PreDelete operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectRename | ( | const SceneItem::Ptr & | item, |
const Path & | previousPath | ||
) |
Append a Rename operation to the list of operations.
void Ufe::SceneCompositeNotification::appendObjectReparent | ( | const SceneItem::Ptr & | item, |
const Path & | previousPath | ||
) |
Append a Reparent operation to the list of operations.
void Ufe::SceneCompositeNotification::appendSubtreeInvalidate | ( | const SceneItem::Ptr & | item | ) |
Append a SubtreeInvalidate operation to the list of operations.
Ops::const_iterator Ufe::SceneCompositeNotification::begin | ( | ) | const |
Iteration interface on operations.
Ops::iterator Ufe::SceneCompositeNotification::begin | ( | ) |
Iteration interface on operations.
Ops::const_iterator Ufe::SceneCompositeNotification::cbegin | ( | ) | const |
Iteration interface on operations.
Ops::const_iterator Ufe::SceneCompositeNotification::cend | ( | ) | const |
Iteration interface on operations.
|
overridevirtual |
Reimplemented from Ufe::SceneChanged.
bool Ufe::SceneCompositeNotification::empty | ( | ) | const |
Ops::const_iterator Ufe::SceneCompositeNotification::end | ( | ) | const |
Iteration interface on operations.
Ops::iterator Ufe::SceneCompositeNotification::end | ( | ) |
Iteration interface on operations.
|
inline |
Definition at line 450 of file sceneNotification.h.
std::size_t Ufe::SceneCompositeNotification::size | ( | ) | const |
|
private |
Definition at line 469 of file sceneNotification.h.