|
Usd Notice Framework 0.9.0
|
Notice sent in response to authored changes that affect any PXR_NS::UsdObject. More...
#include <notice.h>
Public Member Functions | |
| UNF_API | ObjectsChanged (const ObjectsChanged &) |
| Copy constructor. | |
| UNF_API ObjectsChanged & | operator= (const ObjectsChanged &) |
| Assignment operator. | |
| virtual UNF_API void | Merge (ObjectsChanged &&) override |
| Merge notice with another ObjectsChanged notice. | |
| virtual UNF_API void | PostProcess () override |
| Base method for adding post process after merging data within a transaction. | |
| UNF_API bool | AffectedObject (const PXR_NS::UsdObject &object) const |
Indicate whether object was affected by the change that generated this notice. | |
| UNF_API bool | ResyncedObject (const PXR_NS::UsdObject &) const |
Indicate whether object was resynced by the change that generated this notice. | |
| UNF_API bool | ChangedInfoOnly (const PXR_NS::UsdObject &) const |
Indicate whether object was modified but not resynced by the change that generated this notice. | |
| UNF_API const PXR_NS::SdfPathVector & | GetResyncedPaths () const |
| Return vector of paths that are resynced in lexicographical order. | |
| UNF_API const PXR_NS::SdfPathVector & | GetChangedInfoOnlyPaths () const |
| Return vector of paths that are modified but not resynced in lexicographical order. | |
| UNF_API TfTokenSet | GetChangedFields (const PXR_NS::UsdObject &) const |
Return the set of changed fields in layers that affected the object. | |
| UNF_API TfTokenSet | GetChangedFields (const PXR_NS::SdfPath &) const |
Return the set of changed fields in layers that affected the path. | |
| UNF_API bool | HasChangedFields (const PXR_NS::UsdObject &) const |
Indicate whether any changed fields affected the object. | |
| UNF_API bool | HasChangedFields (const PXR_NS::SdfPath &) const |
Indicate whether any changed fields affected the path. | |
| const ChangedFieldMap & | GetChangedFieldMap () const |
| Return map of affected token sets organized per path. | |
Public Member Functions inherited from unf::UnfNotice::StageNoticeImpl< ObjectsChanged > | |
| PXR_NS::TfRefPtr< ObjectsChanged > | Clone () const |
| Return a copy of the notice. | |
| virtual void | Merge (StageNotice &¬ice) override |
| Interface method for merging StageNotice. | |
| virtual std::string | GetTypeId () const override |
| Base method for returing unique type identifier. | |
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. | |
| PXR_NS::TfRefPtr< StageNotice > | Clone () const |
| Interface method to return a copy of the notice. | |
Protected Member Functions | |
| ObjectsChanged (const PXR_NS::UsdNotice::ObjectsChanged &) | |
| Create notice from PXR_NS::UsdNotice::ObjectsChanged instance. | |
Protected Attributes | |
| friend | StageNoticeImpl< ObjectsChanged > |
| Ensure that StageNoticeImpl::Create method can call constructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from unf::UnfNotice::StageNoticeImpl< ObjectsChanged > | |
| static PXR_NS::TfRefPtr< ObjectsChanged > | Create (Args &&... args) |
| Create a notice with variadic arguments. | |
Notice sent in response to authored changes that affect any PXR_NS::UsdObject.
This notice type is the standalone equivalent of the PXR_NS::UsdNotice::ObjectsChanged notice type.
|
overridevirtual |
Merge notice with another ObjectsChanged notice.
Reimplemented from unf::UnfNotice::StageNoticeImpl< ObjectsChanged >.
|
overridevirtual |
Base method for adding post process after merging data within a transaction.
By default, no process is done.
Reimplemented from unf::UnfNotice::StageNotice.
|
inline |
Indicate whether object was affected by the change that generated this notice.
| UNF_API bool unf::UnfNotice::ObjectsChanged::ResyncedObject | ( | const PXR_NS::UsdObject & | ) | const |
Indicate whether object was resynced by the change that generated this notice.
| UNF_API bool unf::UnfNotice::ObjectsChanged::ChangedInfoOnly | ( | const PXR_NS::UsdObject & | ) | const |
Indicate whether object was modified but not resynced by the change that generated this notice.
|
inline |
Return vector of paths that are resynced in lexicographical order.
|
inline |
Return vector of paths that are modified but not resynced in lexicographical order.
| UNF_API TfTokenSet unf::UnfNotice::ObjectsChanged::GetChangedFields | ( | const PXR_NS::UsdObject & | ) | const |
Return the set of changed fields in layers that affected the object.
| UNF_API TfTokenSet unf::UnfNotice::ObjectsChanged::GetChangedFields | ( | const PXR_NS::SdfPath & | ) | const |
Return the set of changed fields in layers that affected the path.
| UNF_API bool unf::UnfNotice::ObjectsChanged::HasChangedFields | ( | const PXR_NS::UsdObject & | ) | const |
Indicate whether any changed fields affected the object.
| UNF_API bool unf::UnfNotice::ObjectsChanged::HasChangedFields | ( | const PXR_NS::SdfPath & | ) | const |
Indicate whether any changed fields affected the path.