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
attributesNotification.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/attributesNotification.h"
2#ifndef UFE_ATTRIBUTESNOTIFICATION_H
3#define UFE_ATTRIBUTESNOTIFICATION_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 "notification.h"
14#include "path.h"
15#include <set>
16#include <string>
17
19
21
27{
28public:
32 AttributeChanged(const Path& path, const std::string& name);
38 const Path& path() const;
40 const std::string& name() const;
41
42private:
45};
46
48
54{
55public:
57 using AttributeChanged::AttributeChanged;
58};
59
61
66{
67public:
69 using AttributeChanged::AttributeChanged;
70};
71
73
78{
79public:
81 using AttributeChanged::AttributeChanged;
82};
83
85
91{
92public:
94 using AttributeChanged::AttributeChanged;
95};
96
98
104{
105public:
110 AttributeMetadataChanged(const Path& path, const std::string& name, const std::string& key);
115 AttributeMetadataChanged(const Path& path, const std::string& name, const std::set<std::string>& keys);
120
122 bool has(const std::string& key) const;
123
125 const std::set<std::string>& keys() const;
126
127private:
128 const std::set<std::string> fKeys;
129};
130
131}
132
133#endif /* UFE_ATTRIBUTESNOTIFICATION_H */
Attribute added notification.
Base class for all attribute changed notifications.
AttributeChanged(const AttributeChanged &)=default
Default copy constructor.
const Path & path() const
AttributeChanged(const Path &path, const std::string &name)
~AttributeChanged() override
Destructor.
const std::string & name() const
Attribute connection changed notification.
Attribute metadata changed notification.
const std::set< std::string > fKeys
bool has(const std::string &key) const
AttributeMetadataChanged(const AttributeMetadataChanged &)=default
Default copy constructor.
const std::set< std::string > & keys() const
AttributeMetadataChanged(const Path &path, const std::string &name, const std::set< std::string > &keys)
AttributeMetadataChanged(const Path &path, const std::string &name, const std::string &key)
~AttributeMetadataChanged() override
Destructor.
Attribute removed notification.
Attribute value changed notification.
Base class for all notifications.
Definition: notification.h:30
Identify an object or 3D path in the scene.
Definition: path.h:40
std::string string(const Path &path)
Path path(const std::string &pathString)
#define UFE_NS_DEF
Definition: ufe.h:36
#define UFE_SDK_DECL
Definition: ufeExport.h:35