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

Command to add an attribute to a scene item. More...

#include <attributesCommands.h>

Inheritance diagram for Ufe::AttributeUndoableCommand:
Collaboration diagram for Ufe::AttributeUndoableCommand:

Public Types

typedef std::shared_ptr< AttributeUndoableCommandPtr
 
- Public Types inherited from Ufe::UndoableCommand
typedef std::shared_ptr< UndoableCommandPtr
 

Public Member Functions

 AttributeUndoableCommand ()=default
 Default constructor. More...
 
 ~AttributeUndoableCommand () override=default
 Destructor. More...
 
virtual Attribute::Ptr attribute () const =0
 Pure virtual method to retrieve the new attribute. More...
 
- Public Member Functions inherited from Ufe::UndoableCommand
virtual ~UndoableCommand ()
 Destructor. More...
 
virtual std::string commandString () const
 Get a user friendly string representation of the command. More...
 
virtual void execute ()
 
virtual void undo ()=0
 
virtual void redo ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from Ufe::UndoableCommand
 UndoableCommand ()
 Constructor. More...
 
 UndoableCommand (const UndoableCommand &)=delete
 Deleting copy constructor. More...
 

Detailed Description

Command to add an attribute to a scene item.

This class provides the interface to retrieve the new attribute, which is created on command execution.

Definition at line 29 of file attributesCommands.h.

Member Typedef Documentation

◆ Ptr

Definition at line 32 of file attributesCommands.h.

Constructor & Destructor Documentation

◆ AttributeUndoableCommand()

Ufe::AttributeUndoableCommand::AttributeUndoableCommand ( )
default

Default constructor.

◆ ~AttributeUndoableCommand()

Ufe::AttributeUndoableCommand::~AttributeUndoableCommand ( )
overridedefault

Destructor.

Member Function Documentation

◆ attribute()

virtual Attribute::Ptr Ufe::AttributeUndoableCommand::attribute ( ) const
pure virtual

Pure virtual method to retrieve the new attribute.


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