![]() |
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
|
Selection composite notification. More...
#include <selectionNotification.h>
Classes | |
struct | Op |
Public Types | |
typedef std::list< Op > | Ops |
![]() | |
enum | OpType { Append , Remove , Insert , Clear , ReplaceWith , SelectionCompositeNotification } |
Public Member Functions | |
SelectionCompositeNotification () | |
Constructor. More... | |
SelectionCompositeNotification (const SelectionCompositeNotification &)=default | |
Default copy constructor. More... | |
~SelectionCompositeNotification () override | |
Destructor. More... | |
void | appendAppendOp (const SceneItem::Ptr &item) |
Append an append operation to the list of operations. More... | |
void | appendRemoveOp (const SceneItem::Ptr &item) |
Append a remove operation to the list of operations. More... | |
void | appendInsertOp (const SceneItem::Ptr &position, const SceneItem::Ptr &item) |
Append an insert operation to the list of operations. More... | |
void | appendClearOp () |
Append a clear operation to the list of operations. More... | |
void | appendReplaceWithOp () |
std::size_t | size () const |
bool | empty () const |
Ops::const_iterator | cbegin () const |
Iteration interface on operations. More... | |
Ops::const_iterator | begin () const |
Ops::const_iterator | cend () const |
Ops::const_iterator | end () const |
Ops::iterator | begin () |
Ops::iterator | end () |
![]() | |
SelectionChanged (OpType opType) | |
Constructor. More... | |
SelectionChanged (const SelectionChanged &)=default | |
Default copy constructor. More... | |
~SelectionChanged () override | |
Destructor. More... | |
OpType | opType () 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 | |
Ops | fOps |
Selection composite notification.
This class collects multiple selection change operations inside a single notification. The selection change operations are stored as a list, in the same order as they were performed.
Definition at line 200 of file selectionNotification.h.
typedef std::list<Op> Ufe::SelectionCompositeNotification::Ops |
Definition at line 220 of file selectionNotification.h.
Ufe::SelectionCompositeNotification::SelectionCompositeNotification | ( | ) |
Constructor.
|
default |
Default copy constructor.
|
override |
Destructor.
void Ufe::SelectionCompositeNotification::appendAppendOp | ( | const SceneItem::Ptr & | item | ) |
Append an append operation to the list of operations.
void Ufe::SelectionCompositeNotification::appendClearOp | ( | ) |
Append a clear operation to the list of operations.
void Ufe::SelectionCompositeNotification::appendInsertOp | ( | const SceneItem::Ptr & | position, |
const SceneItem::Ptr & | item | ||
) |
Append an insert operation to the list of operations.
void Ufe::SelectionCompositeNotification::appendRemoveOp | ( | const SceneItem::Ptr & | item | ) |
Append a remove operation to the list of operations.
void Ufe::SelectionCompositeNotification::appendReplaceWithOp | ( | ) |
Append a replace with operation to the list of operations. Because the selection is completely replaced, it is assumed clients of this notification will simply consider the final state of the selection and ignore operations after a replace with operation.
Ops::iterator Ufe::SelectionCompositeNotification::begin | ( | ) |
Ops::const_iterator Ufe::SelectionCompositeNotification::begin | ( | ) | const |
Ops::const_iterator Ufe::SelectionCompositeNotification::cbegin | ( | ) | const |
Iteration interface on operations.
Ops::const_iterator Ufe::SelectionCompositeNotification::cend | ( | ) | const |
bool Ufe::SelectionCompositeNotification::empty | ( | ) | const |
Ops::iterator Ufe::SelectionCompositeNotification::end | ( | ) |
Ops::const_iterator Ufe::SelectionCompositeNotification::end | ( | ) | const |
std::size_t Ufe::SelectionCompositeNotification::size | ( | ) | const |
|
private |
Definition at line 270 of file selectionNotification.h.