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::ObjectRename Class Reference

Object renamed scene notification. More...

#include <sceneNotification.h>

Inheritance diagram for Ufe::ObjectRename:
Collaboration diagram for Ufe::ObjectRename:

Public Member Functions

 ObjectRename (const SceneItem::Ptr &item, const Path &previousPath)
 Constructor. More...
 
 ObjectRename (const ObjectRename &)=default
 Default copy constructor. More...
 
 ~ObjectRename () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
Path previousPath () const
 
Path changedPath () const override
 
- Public Member Functions inherited from Ufe::ObjectPathChange
 ObjectPathChange ()
 Constructor. More...
 
 ObjectPathChange (const ObjectPathChange &)=default
 Default copy constructor. More...
 
 ~ObjectPathChange () override
 Destructor. More...
 
SubOpStorageType subOpType () const override
 
- Public Member Functions inherited from Ufe::SceneChanged
 SceneChanged (const SceneChanged &)=default
 Default copy constructor. More...
 
 ~SceneChanged () override
 Destructor. More...
 
virtual Path changedPath () const
 
OpType opType () const
 
virtual SubOpStorageType subOpType () 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

const SceneItem::Ptr fItem
 
const Path fPreviousPath
 

Additional Inherited Members

- Public Types inherited from Ufe::ObjectPathChange
enum  SubOpType : SubOpStorageType {
  None = SubOpTypeNone , ObjectRename , ObjectReparent , ObjectPathAdd ,
  ObjectPathRemove
}
 
- Public Types inherited from Ufe::SceneChanged
enum  OpType : unsigned char {
  ObjectAdd , ObjectDelete , ObjectPathChange , SubtreeInvalidate ,
  SceneCompositeNotification
}
 
using SubOpStorageType = unsigned char
 
- Static Public Attributes inherited from Ufe::SceneChanged
static constexpr SubOpStorageType SubOpTypeNone = 0
 
- Protected Member Functions inherited from Ufe::ObjectPathChange
 ObjectPathChange (SubOpType objectPathChangeOpType)
 Constructor. More...
 
- Protected Member Functions inherited from Ufe::SceneChanged
 SceneChanged (OpType opType)
 Constructor. More...
 
- Protected Attributes inherited from Ufe::ObjectPathChange
const SubOpType fSubOpType
 

Detailed Description

Object renamed scene notification.

A rename notification is a path change notification where only the tail component differs. Implicitly, all children of the renamed object have their paths changed; no notification is sent for this.

Definition at line 247 of file sceneNotification.h.

Constructor & Destructor Documentation

◆ ObjectRename() [1/2]

Ufe::ObjectRename::ObjectRename ( const SceneItem::Ptr item,
const Path previousPath 
)

Constructor.

◆ ObjectRename() [2/2]

Ufe::ObjectRename::ObjectRename ( const ObjectRename )
default

Default copy constructor.

◆ ~ObjectRename()

Ufe::ObjectRename::~ObjectRename ( )
override

Destructor.

Member Function Documentation

◆ changedPath()

Path Ufe::ObjectRename::changedPath ( ) const
overridevirtual
Returns
Calls previousPath().

Reimplemented from Ufe::SceneChanged.

◆ item()

SceneItem::Ptr Ufe::ObjectRename::item ( ) const
Returns
Renamed SceneItem.

◆ previousPath()

Path Ufe::ObjectRename::previousPath ( ) const
Returns
Previous path.

Member Data Documentation

◆ fItem

const SceneItem::Ptr Ufe::ObjectRename::fItem
private

Definition at line 269 of file sceneNotification.h.

◆ fPreviousPath

const Path Ufe::ObjectRename::fPreviousPath
private

Definition at line 270 of file sceneNotification.h.


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