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::ConnectionResultUndoableCommand Class Referenceabstract

Command that modifies the data model and produces either a new or modified Connection. More...

#include <undoableCommand.h>

Inheritance diagram for Ufe::ConnectionResultUndoableCommand:
Collaboration diagram for Ufe::ConnectionResultUndoableCommand:

Public Types

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

Public Member Functions

 ConnectionResultUndoableCommand ()=default
 Default constructor. More...
 
 ~ConnectionResultUndoableCommand () override
 Destructor. More...
 
virtual std::shared_ptr< Connectionconnection () const =0
 Pure virtual method to retrieve the resulting 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 that modifies the data model and produces either a new or modified Connection.

This class provides the interface to retrieve the connection, which is set on command execution.

Definition at line 176 of file undoableCommand.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ConnectionResultUndoableCommand()

Ufe::ConnectionResultUndoableCommand::ConnectionResultUndoableCommand ( )
default

Default constructor.

◆ ~ConnectionResultUndoableCommand()

Ufe::ConnectionResultUndoableCommand::~ConnectionResultUndoableCommand ( )
override

Destructor.

Member Function Documentation

◆ connection()

virtual std::shared_ptr< Connection > Ufe::ConnectionResultUndoableCommand::connection ( ) const
pure virtual

Pure virtual method to retrieve the resulting scene item.


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