Loading...
Searching...
No Matches
discoveryPlugin.h File Reference
+ Include dependency graph for discoveryPlugin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SdrDiscoveryPluginContext
 A context for discovery. More...
 

Macros

#define SDR_REGISTER_DISCOVERY_PLUGIN(DiscoveryPluginClass)
 Register a discovery plugin (DiscoveryPluginClass) with the plugin system.
 

Functions

 TF_DECLARE_WEAK_AND_REF_PTRS (SdrDiscoveryPluginContext)
 
 TF_DECLARE_WEAK_AND_REF_PTRS (SdrDiscoveryPlugin)
 

Detailed Description

Note
All Ndr objects are deprecated in favor of the corresponding Sdr objects in this file. All existing pxr/usd/ndr implementations will be moved to pxr/usd/sdr.

Definition in file discoveryPlugin.h.

Macro Definition Documentation

◆ SDR_REGISTER_DISCOVERY_PLUGIN

#define SDR_REGISTER_DISCOVERY_PLUGIN (   DiscoveryPluginClass)
Value:
{ \
TfType::Define<DiscoveryPluginClass, TfType::Bases<SdrDiscoveryPlugin>>() \
.SetFactory<SdrDiscoveryPluginFactory<DiscoveryPluginClass>>(); \
}
TfType represents a dynamic runtime type.
Definition: type.h:48
#define TF_REGISTRY_FUNCTION(KEY_TYPE)
Define a function that is called on demand by TfRegistryManager.

Register a discovery plugin (DiscoveryPluginClass) with the plugin system.

If registered, the discovery plugin will execute its discovery process when the registry is instantiated.

Definition at line 32 of file discoveryPlugin.h.