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

Sent after a layer has been added or removed from the set of muted layers. More...

+ Inheritance diagram for SdfNotice::LayerMutenessChanged:

Public Member Functions

 LayerMutenessChanged (const std::string &layerPath, bool wasMuted)
 
const std::string & GetLayerPath () const
 Returns the path of the layer that was muted or unmuted. More...
 
bool WasMuted () const
 Returns true if the layer was muted, false if unmuted. More...
 
- Public Member Functions inherited from TfNotice
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...
 

Additional Inherited Members

- Public Types inherited from TfNotice
typedef TfWeakPtr< ProbeWeakProbePtr
 
typedef std::vector< KeyKeys
 A TfNotice::Key container. More...
 
- Static Public Member Functions inherited from TfNotice
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 &noticeType, 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...
 

Detailed Description

Sent after a layer has been added or removed from the set of muted layers.

Note this does not necessarily mean the specified layer is currently loaded.

Definition at line 212 of file notice.h.

Member Function Documentation

const std::string& GetLayerPath ( ) const
inline

Returns the path of the layer that was muted or unmuted.

Definition at line 222 of file notice.h.

bool WasMuted ( ) const
inline

Returns true if the layer was muted, false if unmuted.

Definition at line 225 of file notice.h.


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