ufe 6.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
lightNotification.h
Go to the documentation of this file.
1#line 1 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.11-windows/ufe/include/lightNotification.h"
2#ifndef _ufeLightNotification
3#define _ufeLightNotification
4// ===========================================================================
5// Copyright 2022 Autodesk, Inc. All rights reserved.
6//
7// Use of this software is subject to the terms of the Autodesk license
8// agreement provided at the time of installation or download, or which
9// otherwise accompanies this software in either electronic or hard copy form.
10// ===========================================================================
11
12#include "notification.h"
13#include "sceneItem.h"
14#include <set>
15#include <string>
16
18
20
26{
27public:
32 LightChanged(const LightChanged&) = default;
34 ~LightChanged() override;
37
38private:
40};
41
43
49{
50public:
58 Light2MetadataChanged(const SceneItem::Ptr& item, const std::set<std::string>& keys);
63
65 bool has(const std::string& key) const;
66
68 const std::set<std::string>& keys() const;
69
70private:
71 const std::set<std::string> fKeys;
72};
73
74}
75
76#endif /* _ufeLightNotification */
Light2 metadata changed notification.
Light2MetadataChanged(const SceneItem::Ptr &item, const std::string &key)
Light2MetadataChanged(const SceneItem::Ptr &item, const std::set< std::string > &keys)
~Light2MetadataChanged() override
Destructor.
Light2MetadataChanged(const Light2MetadataChanged &)=default
Default copy constructor.
const std::set< std::string > & keys() const
const std::set< std::string > fKeys
bool has(const std::string &key) const
Base class for all Light notifications.
LightChanged(const LightChanged &)=default
Default copy constructor.
SceneItem::Ptr item() const
const SceneItem::Ptr fItem
~LightChanged() override
Destructor.
LightChanged(const SceneItem::Ptr &item)
Base class for all notifications.
Definition: notification.h:29
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:44
std::string string(const Path &path)
#define UFE_NS_DEF
Definition: ufe.h:35
#define UFE_SDK_DECL
Definition: ufeExport.h:36