ufe 5.5
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.11-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
21
23
29{
30public:
34 AttributeChanged(const Path& path, const std::string& name);
40 const Path& path() const;
42 const std::string& name() const;
43
44private:
47};
48
50
56{
57public:
59 using AttributeChanged::AttributeChanged;
60};
61
63
68{
69public:
71 using AttributeChanged::AttributeChanged;
72};
73
75
80{
81public:
83 using AttributeChanged::AttributeChanged;
84};
85
87
93{
94public:
96 using AttributeChanged::AttributeChanged;
97};
98
100
106{
107public:
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);
122
124 bool has(const std::string& key) const;
125
127 const std::set<std::string>& keys() const;
128
129private:
130 const std::set<std::string> fKeys;
131};
132
133}
134
135#endif /* _ufeAttributesNotification */
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:29
Identify an object or 3D path in the scene.
Definition: path.h:38
std::string string(const Path &path)
Path path(const std::string &pathString)
#define UFE_NS_DEF
Definition: ufe.h:35
#define UFE_SDK_DECL
Definition: ufeExport.h:36