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
Ufe::SelectionItemInserted Class Reference

Item inserted into selection notification. More...

#include <selectionNotification.h>

Inheritance diagram for Ufe::SelectionItemInserted:
Collaboration diagram for Ufe::SelectionItemInserted:

Public Member Functions

 SelectionItemInserted (const SceneItem::Ptr &position, const SceneItem::Ptr &item)
 
 SelectionItemInserted (const SelectionItemInserted &)=default
 Default copy constructor. More...
 
 ~SelectionItemInserted () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
SceneItem::Ptr position () const
 
- Public Member Functions inherited from Ufe::SelectionChanged
 SelectionChanged (OpType opType)
 Constructor. More...
 
 SelectionChanged (const SelectionChanged &)=default
 Default copy constructor. More...
 
 ~SelectionChanged () override
 Destructor. More...
 
OpType opType () const
 
- Public Member Functions inherited from Ufe::Notification
 Notification ()
 Constructor. More...
 
 Notification (const Notification &)=default
 Default copy constructor. More...
 
virtual ~Notification ()
 Destructor. More...
 
template<typename T >
const T & staticCast () const
 

Private Attributes

SceneItem::Ptr fPosition
 
SceneItem::Ptr fItem
 

Additional Inherited Members

- Public Types inherited from Ufe::SelectionChanged
enum  OpType {
  Append , Remove , Insert , Clear ,
  ReplaceWith , SelectionCompositeNotification
}
 

Detailed Description

Item inserted into selection notification.

This class notifies observers that the argument item has been inserted into the selection before item position. Since the insertion was successful, the insert position can also be determined with Ufe::Selection::next(), but is provided here for convenience.

Definition at line 112 of file selectionNotification.h.

Constructor & Destructor Documentation

◆ SelectionItemInserted() [1/2]

Ufe::SelectionItemInserted::SelectionItemInserted ( const SceneItem::Ptr position,
const SceneItem::Ptr item 
)

Constructor

Parameters
positionSceneItem following the inserted item, null if item is last in the selection.
itemSceneItem inserted.

◆ SelectionItemInserted() [2/2]

Ufe::SelectionItemInserted::SelectionItemInserted ( const SelectionItemInserted )
default

Default copy constructor.

◆ ~SelectionItemInserted()

Ufe::SelectionItemInserted::~SelectionItemInserted ( )
override

Destructor.

Member Function Documentation

◆ item()

SceneItem::Ptr Ufe::SelectionItemInserted::item ( ) const
Returns
SceneItem inserted.

◆ position()

SceneItem::Ptr Ufe::SelectionItemInserted::position ( ) const
Returns
SceneItem following inserted item. Will be null if the item is last in the selection.

Member Data Documentation

◆ fItem

SceneItem::Ptr Ufe::SelectionItemInserted::fItem
private

Definition at line 137 of file selectionNotification.h.

◆ fPosition

SceneItem::Ptr Ufe::SelectionItemInserted::fPosition
private

Definition at line 136 of file selectionNotification.h.


The documentation for this class was generated from the following file: