Usd Notice Framework
0.7.0
|
Default dispatcher which emits UnfNotice::StageNotice derived notices corresponding to each PXR_NS::UsdNotice::StageNotice derived notice received. More...
#include <dispatcher.h>
Public Member Functions | |
virtual std::string | GetIdentifier () const override |
Get unique string identifier. More... | |
virtual void | Register () override |
Register listeners to each PXR_NS::UsdNotice::StageNotice derived notices. | |
Public Member Functions inherited from unf::Dispatcher | |
virtual UNF_API | ~Dispatcher () |
Revoke all registered listeners on destruction. | |
virtual UNF_API void | Revoke () |
Revoke all registered listeners. | |
Friends | |
class | Broker |
Only a Broker can create a StageDispatcher. | |
Additional Inherited Members | |
Protected Member Functions inherited from unf::Dispatcher | |
UNF_API | Dispatcher (const BrokerWeakPtr &) |
Create a dispatcher targeting a Broker. | |
template<class InputNotice , class OutputNotice > | |
void | _Register () |
Convenient templated method to register a listener for incoming InputNotice notice which emits a OutputNotice notice. More... | |
template<class InputNotice , class OutputNotice > | |
void | _OnReceiving (const InputNotice ¬ice) |
Convenient templated method to emit a OutputNotice notice from an incoming InputNotice notice. More... | |
Protected Attributes inherited from unf::Dispatcher | |
BrokerWeakPtr | _broker |
Broker that the dispatcher is attached to. | |
std::vector< PXR_NS::TfNotice::Key > | _keys |
List of handle-objects used for registering listeners. | |
Default dispatcher which emits UnfNotice::StageNotice derived notices corresponding to each PXR_NS::UsdNotice::StageNotice derived notice received.
|
inlineoverridevirtual |
Get unique string identifier.
Identifier will be used to retrieve Dispatcher from the Broker.
Implements unf::Dispatcher.