![]() |
|
Notice sent per-layer indicating all layers whose contents have changed within a single round of change processing. More...
Public Member Functions | |
LayersDidChangeSentPerLayer (const SdfLayerChangeListVec &changeVec, size_t serialNumber) | |
![]() | |
TF_API size_t | Send () const |
Deliver the notice to interested listeners, returning the number of interested listeners. More... | |
template<typename SenderPtr > | |
size_t | Send (SenderPtr const &s) const |
Deliver the notice to interested listeners, returning the number of interested listeners. More... | |
TF_API size_t | SendWithWeakBase (const TfWeakBase *senderWeakBase, const void *senderUniqueId, const std::type_info &type) const |
Variant of Send() that takes a specific sender in the form of a TfWeakBase pointer and a typeid. More... | |
![]() | |
BaseLayersDidChange (const SdfLayerChangeListVec &changeVec, size_t serialNumber) | |
SDF_API SdfLayerHandleVector | GetLayers () const |
A list of layers changed. More... | |
const SdfLayerChangeListVec & | GetChangeListVec () 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 | |
![]() | |
typedef TfWeakPtr< Probe > | WeakProbePtr |
typedef std::vector< Key > | Keys |
A TfNotice::Key container. More... | |
![]() | |
using | const_iterator = SdfLayerChangeListVec::const_iterator |
using | iterator = const_iterator |
![]() | |
static void | InsertProbe (const WeakProbePtr &probe) |
Register a probe that will be invoked when notices are sent and delivered. More... | |
static void | RemoveProbe (const WeakProbePtr &probe) |
Remove a probe that was previously registered with InsertProbe . More... | |
template<class LPtr , class MethodPtr > | |
static TfNotice::Key | Register (LPtr const &listener, MethodPtr method) |
Register a listener as being interested in a TfNotice . More... | |
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 ¬iceType, const TfAnyWeakPtr &sender) |
static TF_API bool | Revoke (TfNotice::Key &key) |
Revoke interest by a listener. More... | |
static TF_API void | Revoke (TfNotice::Keys *keys) |
Revoke interest by listeners. More... | |
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.