1 #ifndef USD_NOTICE_FRAMEWORK_CAPTURE_PREDICATE_H
2 #define USD_NOTICE_FRAMEWORK_CAPTURE_PREDICATE_H
Predicate functor which indicates whether a notice can be captured during a transaction.
Definition: capturePredicate.h:29
UNF_API bool operator()(const UnfNotice::StageNotice &) const
Invoke boolean predicate on UnfNotice::StageNotice notice.
static UNF_API CapturePredicate BlockAll()
Create a predicate which return false for each notice type.
static UNF_API CapturePredicate Default()
Create a predicate which return true for each notice type.
UNF_API CapturePredicate(const CapturePredicateFunc &)
Create predicate from a function.
Base class for standalone PXR_NS::UsdStage notices.
Definition: notice.h:47
std::function< bool(const UnfNotice::StageNotice &)> CapturePredicateFunc
Convenient alias for function defining whether notice can be captured.
Definition: capturePredicate.h:16