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

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

#include <sceneNotification.h>

Inheritance diagram for Ufe::ObjectAdd:
Collaboration diagram for Ufe::ObjectAdd:

Public Member Functions

 ObjectAdd (const SceneItem::Ptr &item)
 Constructor. More...
 
 ObjectAdd (const ObjectAdd &)=default
 Default copy constructor. More...
 
 ~ObjectAdd () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
Path changedPath () 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::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::SceneChanged
 SceneChanged (OpType opType)
 Constructor. More...
 

Detailed Description

Base class for object add scene notifications.

This class is the base class for object add scene notifications.

Definition at line 67 of file sceneNotification.h.

Constructor & Destructor Documentation

◆ ObjectAdd() [1/2]

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

Constructor.

◆ ObjectAdd() [2/2]

Ufe::ObjectAdd::ObjectAdd ( const ObjectAdd )
default

Default copy constructor.

◆ ~ObjectAdd()

Ufe::ObjectAdd::~ObjectAdd ( )
override

Destructor.

Member Function Documentation

◆ changedPath()

Path Ufe::ObjectAdd::changedPath ( ) const
overridevirtual
Returns
Path to the added object.

Reimplemented from Ufe::SceneChanged.

◆ item()

SceneItem::Ptr Ufe::ObjectAdd::item ( ) const
Returns
Added SceneItem.

Member Data Documentation

◆ fItem

const SceneItem::Ptr Ufe::ObjectAdd::fItem
private

Definition at line 86 of file sceneNotification.h.


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