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
batchOpsHandler.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/batchOpsHandler.h"
2 #ifndef _batchOpsHandler
3 #define _batchOpsHandler
4 // ===========================================================================
5 // Copyright 2022 Autodesk, Inc. All rights reserved.
6 //
7 // Use of this software is subject to the terms of the Autodesk license
8 // agreement provided at the time of installation or download, or which
9 // otherwise accompanies this software in either electronic or hard copy form.
10 // ===========================================================================
11 
12 #include "undoableCommand.h"
13 #include "value.h"
14 
15 UFE_NS_DEF {
16 
17 class Selection;
18 
28 {
29 public:
30  typedef std::shared_ptr<BatchOpsHandler> Ptr;
34  BatchOpsHandler(const BatchOpsHandler&) = default;
36  virtual ~BatchOpsHandler();
37 
46  duplicateSelectionCmd(
47  const Selection& selection,
48  const ValueDictionary& duplicateOptions);
49 
50 protected:
62  duplicateSelectionCmd_(
63  const Selection& selection,
64  const ValueDictionary& duplicateOptions) = 0;
65 };
66 
67 }
68 
69 #endif /* _batchOpsHandler */
std::shared_ptr< SelectionUndoableCommand > Ptr
std::unordered_map< std::string, Value > ValueDictionary
Definition: value.h:92
Selection list for objects in the scene.
Definition: selection.h:27
#define UFE_NS_DEF
Definition: ufe.h:35
std::shared_ptr< BatchOpsHandler > Ptr
Provides services to properly manage complex sequences of operations using bracketed guards...
#define UFE_SDK_DECL
Definition: ufeExport.h:36