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

Object delete scene notifications that occur before the object is deleted. More...

#include <sceneNotification.h>

Inheritance diagram for Ufe::ObjectPreDelete:
Collaboration diagram for Ufe::ObjectPreDelete:

Public Member Functions

 ObjectPreDelete (const SceneItem::Ptr &item)
 Constructor. More...
 
 ObjectPreDelete (const ObjectPreDelete &)=default
 Default copy constructor. More...
 
 ~ObjectPreDelete () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
- Public Member Functions inherited from Ufe::ObjectDelete
 ObjectDelete (const Path &path)
 Constructor. More...
 
 ObjectDelete (const ObjectDelete &)=default
 Default copy constructor. More...
 
 ~ObjectDelete () override
 Destructor. More...
 
Path path () const
 
Path changedPath () const override
 
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::ObjectDelete
enum  SubOpType : SubOpStorageType { None = SubOpTypeNone , ObjectPostDelete , ObjectPreDelete , ObjectDestroyed }
 
- 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::ObjectDelete
 ObjectDelete (const Path &path, SubOpType objectDeleteOpType)
 Constructor. More...
 
- Protected Member Functions inherited from Ufe::SceneChanged
 SceneChanged (OpType opType)
 Constructor. More...
 

Detailed Description

Object delete scene notifications that occur before the object is deleted.

The object is valid when the notification is sent.

See also
ObjectPostDelete, ObjectDestroyed

Definition at line 166 of file sceneNotification.h.

Constructor & Destructor Documentation

◆ ObjectPreDelete() [1/2]

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

Constructor.

◆ ObjectPreDelete() [2/2]

Ufe::ObjectPreDelete::ObjectPreDelete ( const ObjectPreDelete )
default

Default copy constructor.

◆ ~ObjectPreDelete()

Ufe::ObjectPreDelete::~ObjectPreDelete ( )
override

Destructor.

Member Function Documentation

◆ item()

SceneItem::Ptr Ufe::ObjectPreDelete::item ( ) const
Returns
Deleted SceneItem.

Member Data Documentation

◆ fItem

const SceneItem::Ptr Ufe::ObjectPreDelete::fItem
private

Definition at line 182 of file sceneNotification.h.


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