ufe  1.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::ObjectDelete Class Reference

Base class for object delete scene notifications. More...

#include <sceneNotification.h>

Inheritance diagram for Ufe::ObjectDelete:
Collaboration diagram for Ufe::ObjectDelete:

Public Member Functions

 ObjectDelete (const SceneItem::Ptr &item)
 Constructor. More...
 
 ObjectDelete (const ObjectDelete &)=default
 Default copy constructor. More...
 
 ~ObjectDelete () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
- Public Member Functions inherited from Ufe::Notification
 Notification ()
 Constructor. More...
 
 Notification (const Notification &)=default
 Default copy constructor. More...
 
virtual ~Notification ()
 Destructor. More...
 

Private Attributes

SceneItem::Ptr fItem
 

Detailed Description

Base class for object delete scene notifications.

This class is the base class for object delete scene notifications. There are two ObjectDelete derived class notification types, for post-delete and pre-delete. This covers run-times that send notification just before the object is deleted (e.g. Maya), and those that send notification just after the object is deleted (e.g. USD). The important point is that regardless of whether observers get a pre- or a post- notification, the object is still valid when the notification is sent.

Definition at line 52 of file sceneNotification.h.

Constructor & Destructor Documentation

◆ ObjectDelete() [1/2]

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

Constructor.

◆ ObjectDelete() [2/2]

Ufe::ObjectDelete::ObjectDelete ( const ObjectDelete )
default

Default copy constructor.

◆ ~ObjectDelete()

Ufe::ObjectDelete::~ObjectDelete ( )
override

Destructor.

Member Function Documentation

◆ item()

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

Member Data Documentation

◆ fItem

SceneItem::Ptr Ufe::ObjectDelete::fItem
private

Definition at line 68 of file sceneNotification.h.


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