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

Path added to object scene notification. More...

#include <sceneNotification.h>

Inheritance diagram for Ufe::ObjectPathAdd:
Collaboration diagram for Ufe::ObjectPathAdd:

Public Member Functions

 ObjectPathAdd (const SceneItem::Ptr &item)
 Constructor. More...
 
 ObjectPathAdd (const ObjectPathAdd &)=default
 Default copy constructor. More...
 
 ~ObjectPathAdd () override
 Destructor. More...
 
SceneItem::Ptr item () 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
 

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

Path added to object scene notification.

A path add notification is a path change notification where a new path is added to an existing object. Not all runtimes support these semantics: a new path is created to the tail component object, and data model observers must reflect this, but the tail component object itself is unchanged. Implicitly, all children of the object to which a path was added have also had a path added to them; no notification is sent for this.

Definition at line 327 of file sceneNotification.h.

Constructor & Destructor Documentation

◆ ObjectPathAdd() [1/2]

Ufe::ObjectPathAdd::ObjectPathAdd ( const SceneItem::Ptr item)

Constructor.

◆ ObjectPathAdd() [2/2]

Ufe::ObjectPathAdd::ObjectPathAdd ( const ObjectPathAdd )
default

Default copy constructor.

◆ ~ObjectPathAdd()

Ufe::ObjectPathAdd::~ObjectPathAdd ( )
override

Destructor.

Member Function Documentation

◆ changedPath()

Path Ufe::ObjectPathAdd::changedPath ( ) const
overridevirtual
Returns
Returns the item's path.

Reimplemented from Ufe::SceneChanged.

◆ item()

SceneItem::Ptr Ufe::ObjectPathAdd::item ( ) const
Returns
Added path to existing SceneItem.

Member Data Documentation

◆ fItem

const SceneItem::Ptr Ufe::ObjectPathAdd::fItem
private

Definition at line 346 of file sceneNotification.h.


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