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  NdrDiscoveryPluginContext
 A context for discovery. More...
 
class  NdrDiscoveryPlugin
 Interface for discovery plugins. More...
 

Macros

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

Functions

 TF_DECLARE_WEAK_AND_REF_PTRS (NdrDiscoveryPluginContext)
 
 TF_DECLARE_WEAK_AND_REF_PTRS (NdrDiscoveryPlugin)
 

Detailed Description

Deprecated:
All Ndr objects are deprecated in favor of the corresponding Sdr objects in sdr/discoveryPlugin.h

Definition in file discoveryPlugin.h.

Macro Definition Documentation

◆ NDR_REGISTER_DISCOVERY_PLUGIN

#define NDR_REGISTER_DISCOVERY_PLUGIN (   DiscoveryPluginClass)
Value:
{ \
TfType::Define<DiscoveryPluginClass, TfType::Bases<NdrDiscoveryPlugin>>() \
.SetFactory<NdrDiscoveryPluginFactory<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.

Deprecated:
Deprecated in favor of SDR_REGISTER_DISCOVERY_PLUGIN

Definition at line 33 of file discoveryPlugin.h.