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

Command to change the parent of a scene item. More...

#include <undoableCommand.h>

Inheritance diagram for Ufe::InsertChildCommand:
Collaboration diagram for Ufe::InsertChildCommand:

Public Types

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

Public Member Functions

 InsertChildCommand ()=default
 Default constructor. More...
 
 ~InsertChildCommand () override
 Destructor. More...
 
virtual SceneItem::Ptr insertedChild () const =0
 Pure virtual method to retrieve the reparented scene item. 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 change the parent of a scene item.

This class provides the interface to retrieve the reparented scene item, which is set on command execution.

Definition at line 130 of file undoableCommand.h.

Member Typedef Documentation

◆ Ptr

Definition at line 133 of file undoableCommand.h.

Constructor & Destructor Documentation

◆ InsertChildCommand()

Ufe::InsertChildCommand::InsertChildCommand ( )
default

Default constructor.

◆ ~InsertChildCommand()

Ufe::InsertChildCommand::~InsertChildCommand ( )
override

Destructor.

Member Function Documentation

◆ insertedChild()

virtual SceneItem::Ptr Ufe::InsertChildCommand::insertedChild ( ) const
pure virtual

Pure virtual method to retrieve the reparented scene item.


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