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
Ufe::Light2MetadataChanged Class Reference

Light2 metadata changed notification. More...

#include <lightNotification.h>

Inheritance diagram for Ufe::Light2MetadataChanged:
Collaboration diagram for Ufe::Light2MetadataChanged:

Public Member Functions

 Light2MetadataChanged (const SceneItem::Ptr &item, const std::string &key)
 
 Light2MetadataChanged (const SceneItem::Ptr &item, const std::set< std::string > &keys)
 
 Light2MetadataChanged (const Light2MetadataChanged &)=default
 Default copy constructor. More...
 
 ~Light2MetadataChanged () override
 Destructor. More...
 
bool has (const std::string &key) const
 
const std::set< std::string > & keys () const
 
- Public Member Functions inherited from Ufe::LightChanged
 LightChanged (const SceneItem::Ptr &item)
 
 LightChanged (const LightChanged &)=default
 Default copy constructor. More...
 
 ~LightChanged () override
 Destructor. More...
 
SceneItem::Ptr item () const
 
- Public Member Functions inherited from Ufe::Notification
 Notification ()
 Constructor. More...
 
 Notification (const Notification &)=default
 Default copy constructor. More...
 
virtual ~Notification ()
 Destructor. More...
 
template<typename T >
const T & staticCast () const
 

Private Attributes

const std::set< std::string > fKeys
 

Detailed Description

Light2 metadata changed notification.

An object of this class is sent to observers when the metadata of an Light2 on a single node has changed.

Definition at line 48 of file lightNotification.h.

Constructor & Destructor Documentation

◆ Light2MetadataChanged() [1/3]

Ufe::Light2MetadataChanged::Light2MetadataChanged ( const SceneItem::Ptr item,
const std::string &  key 
)

Constructor.

Parameters
itemLightChanged Notification on the given SceneItem.
keyA single metadata key that had it's value changed.

◆ Light2MetadataChanged() [2/3]

Ufe::Light2MetadataChanged::Light2MetadataChanged ( const SceneItem::Ptr item,
const std::set< std::string > &  keys 
)

Constructor.

Parameters
itemLightChanged Notification on the given SceneItem.
keysThe metadata keys that had values changed.

◆ Light2MetadataChanged() [3/3]

Ufe::Light2MetadataChanged::Light2MetadataChanged ( const Light2MetadataChanged )
default

Default copy constructor.

◆ ~Light2MetadataChanged()

Ufe::Light2MetadataChanged::~Light2MetadataChanged ( )
override

Destructor.

Member Function Documentation

◆ has()

bool Ufe::Light2MetadataChanged::has ( const std::string &  key) const
Returns
Whether this notification was sent for the provided metadata key.

◆ keys()

const std::set< std::string > & Ufe::Light2MetadataChanged::keys ( ) const
Returns
Metadata keys that were changed for this Notification.

Member Data Documentation

◆ fKeys

const std::set<std::string> Ufe::Light2MetadataChanged::fKeys
private

Definition at line 71 of file lightNotification.h.


The documentation for this class was generated from the following file: