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
|
Provides services to properly manage complex sequences of operations using bracketed guards. More...
#include <batchOpsHandler.h>
Public Types | |
typedef std::shared_ptr< BatchOpsHandler > | Ptr |
Public Member Functions | |
BatchOpsHandler () | |
Constructor. More... | |
BatchOpsHandler (const BatchOpsHandler &)=default | |
Default copy constructor. More... | |
virtual | ~BatchOpsHandler () |
Destructor. More... | |
Static Public Member Functions | |
static SelectionUndoableCommand::Ptr | duplicateSelectionCmd (const Selection &selection, const ValueDictionary &duplicateOptions) |
Protected Member Functions | |
virtual SelectionUndoableCommand::Ptr | duplicateSelectionCmd_ (const Selection &selection, const ValueDictionary &duplicateOptions)=0 |
Provides services to properly manage complex sequences of operations using bracketed guards.
This handler provides begin/end callbacks for operations that will be done in batch on a large selection, providing services to allow storing options to be used on each operations. This will also allow doing extra processing at the end of the batch.
Definition at line 27 of file batchOpsHandler.h.
typedef std::shared_ptr<BatchOpsHandler> Ufe::BatchOpsHandler::Ptr |
Definition at line 30 of file batchOpsHandler.h.
Ufe::BatchOpsHandler::BatchOpsHandler | ( | ) |
Constructor.
|
default |
Default copy constructor.
|
virtual |
Destructor.
|
static |
Asks all registered BatchOpsHandlers to prepare a command that can duplicate in batch the items in the selection list that belong to their runtimes. These sub commands will be gathered in a composite command that will be returned here. The returned command is not executed.
selection | The list of items to duplicate. |
duplicateOptions | Options affecting the batched duplicate operation. |
|
protectedpure virtual |
Ask a runtime handler to create a command that can be executed to duplicate all the items in the selection list that are supported by that runtime. The returned command is not executed.
Runtimes are expected to:
selection | The list of items to duplicate. |
duplicateOptions | Options affecting the batched duplicate operation. |