ufe 7.0
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 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/batchOpsHandler.h"
2#ifndef UFE_BATCHOPSHANDLER_H
3#define UFE_BATCHOPSHANDLER_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#include "undoableCommand.h"
14#include "value.h"
15
17
18class Selection;
19
29{
30public:
31 typedef std::shared_ptr<BatchOpsHandler> Ptr;
38
39
40 // --------------------------------------------------------------------- //
46 // --------------------------------------------------------------------- //
47
58 static constexpr char kInputConnections[] = "inputConnections";
59
74 static constexpr char kDstParentPath[] = "dstParentPath";
75
76 // --------------------------------------------------------------------- //
78 // --------------------------------------------------------------------- //
79
90 const Selection& selection,
91 const ValueDictionary& duplicateOptions);
92
93protected:
108 const Selection& selection,
109 const ValueDictionary& duplicateOptions) = 0;
110};
111
112}
113
114#endif /* UFE_BATCHOPSHANDLER_H */
Provides services to properly manage complex sequences of operations using bracketed guards.
BatchOpsHandler(const BatchOpsHandler &)=default
Default copy constructor.
virtual SelectionUndoableCommand::Ptr duplicateSelectionCmd_(const Selection &selection, const ValueDictionary &duplicateOptions)=0
virtual ~BatchOpsHandler()
Destructor.
BatchOpsHandler()
Constructor.
std::shared_ptr< BatchOpsHandler > Ptr
static SelectionUndoableCommand::Ptr duplicateSelectionCmd(const Selection &selection, const ValueDictionary &duplicateOptions)
Selection list for objects in the scene.
Definition: selection.h:29
std::shared_ptr< SelectionUndoableCommand > Ptr
std::unordered_map< std::string, Value > ValueDictionary
Definition: value.h:173
#define UFE_NS_DEF
Definition: ufe.h:36
#define UFE_SDK_DECL
Definition: ufeExport.h:35