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
attributesNotification.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/attributesNotification.h"
2 #ifndef _ufeAttributesNotification
3 #define _ufeAttributesNotification
4 
5 // =======================================================================
6 // Copyright 2019 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 "notification.h"
16 #include "path.h"
17 #include <set>
18 #include <string>
19 
20 UFE_NS_DEF {
21 
23 
29 {
30 public:
34  AttributeChanged(const Path& path, const std::string& name);
36  AttributeChanged(const AttributeChanged&) = default;
38  ~AttributeChanged() override;
40  const Path& path() const;
42  const std::string& name() const;
43 
44 private:
47 };
48 
50 
56 {
57 public:
60 };
61 
63 
68 {
69 public:
72 };
73 
75 
80 {
81 public:
84 };
85 
87 
93 {
94 public:
97 };
98 
100 
106 {
107 public:
112  AttributeMetadataChanged(const Path& path, const std::string& name, const std::string& key);
117  AttributeMetadataChanged(const Path& path, const std::string& name, const std::set<std::string>& keys);
121  ~AttributeMetadataChanged() override;
122 
124  bool has(const std::string& key) const;
125 
127  const std::set<std::string>& keys() const;
128 
129 private:
130  const std::set<std::string> fKeys;
131 };
132 
133 }
134 
135 #endif /* _ufeAttributesNotification */
Attribute connection changed notification.
const std::set< std::string > fKeys
std::string string(const Path &path)
Base class for all attribute changed notifications.
Identify an object or 3D path in the scene.
Definition: path.h:37
Attribute metadata changed notification.
AttributeChanged(const Path &path, const std::string &name)
Attribute value changed notification.
#define UFE_NS_DEF
Definition: ufe.h:35
Base class for all notifications.
Definition: notification.h:28
Attribute added notification.
Attribute removed notification.
Path path(const std::string &pathString)
#define UFE_SDK_DECL
Definition: ufeExport.h:36