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

Factory base class for Attributes interface. More...

#include <attributesHandler.h>

Public Types

typedef std::shared_ptr< AttributesHandlerPtr
 

Public Member Functions

 AttributesHandler ()
 Constructor. More...
 
 AttributesHandler (const AttributesHandler &)=default
 Default copy constructor. More...
 
virtual ~AttributesHandler ()
 Destructor. More...
 
virtual Attributes::Ptr attributes (const SceneItem::Ptr &item) const =0
 

Detailed Description

Factory base class for Attributes interface.

This base class defines an interface for factory objects that run-times can implement to create the attributes interface object.

Definition at line 31 of file attributesHandler.h.

Member Typedef Documentation

◆ Ptr

Definition at line 34 of file attributesHandler.h.

Constructor & Destructor Documentation

◆ AttributesHandler() [1/2]

Ufe::AttributesHandler::AttributesHandler ( )

Constructor.

◆ AttributesHandler() [2/2]

Ufe::AttributesHandler::AttributesHandler ( const AttributesHandler )
default

Default copy constructor.

◆ ~AttributesHandler()

virtual Ufe::AttributesHandler::~AttributesHandler ( )
virtual

Destructor.

Member Function Documentation

◆ attributes()

virtual Attributes::Ptr Ufe::AttributesHandler::attributes ( const SceneItem::Ptr item) const
pure virtual

Creates an Attributes interface on the given SceneItem.

Parameters
itemSceneItem to use to retrieve its Attributes interface.
Returns
Attributes interface of given SceneItem. Returns a null pointer if no Attribute interface can be created for the item.

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