1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/selectionNotification.h"
2#ifndef _ufeSelectionNotification
3#define _ufeSelectionNotification
207 : opType(opTypeArg), item(itemArg) {}
211 : opType(opTypeArg), item(itemArg), position(positionArg) {}
220 typedef std::list<Op>
Ops;
262 Ops::const_iterator
cend()
const;
263 Ops::const_iterator
end()
const;
Base class for all notifications.
std::shared_ptr< SceneItem > Ptr
Base class for all selection notifications.
~SelectionChanged() override
Destructor.
SelectionChanged(const SelectionChanged &)=default
Default copy constructor.
SelectionChanged(OpType opType)
Constructor.
Selection cleared notification.
SelectionCleared(const Selection &previous)
Constructor.
~SelectionCleared() override
Destructor.
const Selection & previousSelection() const
const Selection & fPreviousSelection
SelectionCleared(const SelectionCleared &)=default
Default copy constructor.
Selection composite notification.
void appendClearOp()
Append a clear operation to the list of operations.
Ops::const_iterator cbegin() const
Iteration interface on operations.
void appendRemoveOp(const SceneItem::Ptr &item)
Append a remove operation to the list of operations.
~SelectionCompositeNotification() override
Destructor.
void appendInsertOp(const SceneItem::Ptr &position, const SceneItem::Ptr &item)
Append an insert operation to the list of operations.
SelectionCompositeNotification(const SelectionCompositeNotification &)=default
Default copy constructor.
Ops::const_iterator cend() const
SelectionCompositeNotification()
Constructor.
Ops::const_iterator end() const
void appendReplaceWithOp()
Ops::const_iterator begin() const
void appendAppendOp(const SceneItem::Ptr &item)
Append an append operation to the list of operations.
Selection list for objects in the scene.
Item added to selection notification.
~SelectionItemAppended() override
Destructor.
SceneItem::Ptr item() const
SelectionItemAppended(const SceneItem::Ptr &item)
SelectionItemAppended(const SelectionItemAppended &)=default
Default copy constructor.
Item inserted into selection notification.
SceneItem::Ptr item() const
SceneItem::Ptr position() const
~SelectionItemInserted() override
Destructor.
SelectionItemInserted(const SceneItem::Ptr &position, const SceneItem::Ptr &item)
SelectionItemInserted(const SelectionItemInserted &)=default
Default copy constructor.
Item removed from selection notification.
SceneItem::Ptr item() const
SelectionItemRemoved(const SceneItem::Ptr &item)
SelectionItemRemoved(const SelectionItemRemoved &)=default
Default copy constructor.
~SelectionItemRemoved() override
Destructor.
Selection replaced notification.
SelectionReplaced(const Selection &previous)
Constructor.
SelectionReplaced(const SelectionReplaced &)=default
Default copy constructor.
~SelectionReplaced() override
Destructor.
const Selection & previousSelection() const
const Selection & fPreviousSelection
Op(OpType opTypeArg, const SceneItem::Ptr &itemArg)
Op(OpType opTypeArg, const SceneItem::Ptr &positionArg, const SceneItem::Ptr &itemArg)
Op(const SelectionChanged &)