HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfNotice::LayersDidChangeSentPerLayer Class Reference

#include <notice.h>

+ Inheritance diagram for SdfNotice::LayersDidChangeSentPerLayer:

Public Member Functions

 LayersDidChangeSentPerLayer (const SdfLayerChangeListVec &changeVec, size_t serialNumber)
 
virtual SDF_API ~LayersDidChangeSentPerLayer ()
 
- Public Member Functions inherited from SdfNotice::Base
SDF_API ~Base ()
 
- Public Member Functions inherited from TfNotice
TF_API size_t Send () const
 
template<typename SenderPtr >
size_t Send (SenderPtr const &s) const
 
TF_API size_t SendWithWeakBase (const TfWeakBase *senderWeakBase, const void *senderUniqueId, const std::type_info &type) const
 
virtual TF_API ~TfNotice ()
 
- Public Member Functions inherited from SdfNotice::BaseLayersDidChange
 BaseLayersDidChange (const SdfLayerChangeListVec &changeVec, size_t serialNumber)
 
SDF_API SdfLayerHandleVector GetLayers () const
 A list of layers changed. More...
 
const SdfLayerChangeListVecGetChangeListVec () const
 A list of layers and the changes that occurred to them. More...
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator end () const
 
const_iterator cend () const
 
const_iterator find (SdfLayerHandle const &layer) const
 
bool count (SdfLayerHandle const &layer) const
 
size_t GetSerialNumber () const
 The serial number for this round of change processing. More...
 

Additional Inherited Members

- Public Types inherited from TfNotice
typedef TfWeakPtr< ProbeWeakProbePtr
 
typedef std::vector< KeyKeys
 
- Public Types inherited from SdfNotice::BaseLayersDidChange
using const_iterator = SdfLayerChangeListVec::const_iterator
 
using iterator = const_iterator
 
- Static Public Member Functions inherited from TfNotice
static TF_API void InsertProbe (const WeakProbePtr &probe)
 
static TF_API void RemoveProbe (const WeakProbePtr &probe)
 
template<class LPtr , class MethodPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method)
 
template<class LPtr , class MethodPtr , class SenderPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method, SenderPtr const &sender)
 
template<class LPtr , class MethodPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method, const TfType &noticeType, const TfAnyWeakPtr &sender)
 
static TF_API bool Revoke (TfNotice::Key &key)
 
static TF_API void Revoke (TfNotice::Keys *keys)
 

Detailed Description

Notice sent per-layer indicating all layers whose contents have changed within a single round of change processing. If more than one layer changes in a single round of change processing, we send this notice once per layer with the same changeVec and serialNumber. This is so clients can listen to notices from only the set of layers they care about rather than listening to the global LayersDidChange notice.

Definition at line 110 of file notice.h.

Constructor & Destructor Documentation

SdfNotice::LayersDidChangeSentPerLayer::LayersDidChangeSentPerLayer ( const SdfLayerChangeListVec changeVec,
size_t  serialNumber 
)
inline

Definition at line 113 of file notice.h.

virtual SDF_API SdfNotice::LayersDidChangeSentPerLayer::~LayersDidChangeSentPerLayer ( )
virtual

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