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
attributesCommands.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/attributesCommands.h"
2 #ifndef _ufe_attributes_commands
3 #define _ufe_attributes_commands
4 
5 // =======================================================================
6 // Copyright 2022 Autodesk, Inc. All rights reserved.
7 //
8 // This computer source code and related instructions and comments are the
9 // unpublished confidential and proprietary information of Autodesk, Inc.
10 // and are protected under applicable copyright and trade secret law. They
11 // may not be disclosed to, copied or used by any third party without the
12 // prior written consent of Autodesk, Inc.
13 // =======================================================================
14 
15 #include "common/ufeExport.h"
16 #include "attribute.h"
17 #include "undoableCommand.h"
18 
19 #include <memory>
20 
21 UFE_NS_DEF {
22 
24 
30 {
31 public:
32  typedef std::shared_ptr<AttributeUndoableCommand> Ptr;
34  AttributeUndoableCommand() = default;
35 
37  ~AttributeUndoableCommand() override = default;
38 
40  virtual Attribute::Ptr attribute() const = 0;
41 };
42 
43 
44 
45 } // end namespace
46 
47 #endif /* _ufe_attributes_commands */
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:40
Command to add an attribute to a scene item.
Definition of macros for symbol visibility.
std::shared_ptr< AttributeUndoableCommand > Ptr
#define UFE_NS_DEF
Definition: ufe.h:35
Abstract base class for undoable commands.
#define UFE_SDK_DECL
Definition: ufeExport.h:36