Usd Notice Framework
0.7.0
|
Intermediate interface using the CRTP idiom to provide factory and default merging logic. More...
#include <notice.h>
Public Member Functions | |
PXR_NS::TfRefPtr< Self > | Clone () const |
Return a copy of the notice. | |
virtual void | Merge (StageNotice &¬ice) override |
Interface method for merging StageNotice. More... | |
virtual void | Merge (Self &&) |
Base method for merging notice with similar type. More... | |
virtual std::string | GetTypeId () const override |
Base method for returing unique type identifier. More... | |
Public Member Functions inherited from unf::UnfNotice::StageNotice | |
virtual UNF_API bool | IsMergeable () const |
Indicate whether notice from the same type can be consolidated during a transaction. More... | |
virtual void | PostProcess () |
Base method for adding post process after merging data within a transaction. More... | |
PXR_NS::TfRefPtr< StageNotice > | Clone () const |
Interface method to return a copy of the notice. More... | |
Static Public Member Functions | |
template<class... Args> | |
static PXR_NS::TfRefPtr< Self > | Create (Args &&... args) |
Create a notice with variadic arguments. | |
Intermediate interface using the CRTP idiom to provide factory and default merging logic.
Typical usage is as follows:
|
inlineoverridevirtual |
Interface method for merging StageNotice.
Reimplemented from unf::UnfNotice::StageNotice.
|
inlinevirtual |
Base method for merging notice with similar type.
By default, no data is moved.
Reimplemented in unf::UnfNotice::ObjectsChanged, and unf::UnfNotice::LayerMutingChanged.
|
inlineoverridevirtual |
Base method for returing unique type identifier.
By default, the full type name of the notice is returned.
Reimplemented from unf::UnfNotice::StageNotice.