Loading...
Searching...
No Matches
NdrDiscoveryPluginContext Class Referenceabstract

A context for discovery. More...

#include <discoveryPlugin.h>

+ Inheritance diagram for NdrDiscoveryPluginContext:

Public Member Functions

virtual NDR_API TfToken GetSourceType (const TfToken &discoveryType) const =0
 Returns the source type associated with the discovery type.
 
- Public Member Functions inherited from TfRefBase
 TfRefBase (TfRefBase const &)
 
TfRefBaseoperator= (TfRefBase const &)
 
size_t GetCurrentCount () const
 Return the current reference count of this object.
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object.
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 
- Public Member Functions inherited from TfWeakBase
 TfWeakBase (const TfWeakBase &)
 
const TfWeakBase__GetTfWeakBase__ () const
 
const TfWeakBaseoperator= (const TfWeakBase &)
 
void EnableNotification2 () const
 
TF_API void const * GetUniqueIdentifier () const
 

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr) (TfRefBase const *, bool)
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 
- Protected Member Functions inherited from TfWeakBase
TfRefPtr< Tf_Remnant > _Register () const
 
template<class T >
TfRefPtr< Tf_Remnant > _Register (T *tempRmnt) const
 
bool _HasRemnant () const
 

Detailed Description

A context for discovery.

Discovery plugins can use this to get a limited set of non-local information without direct coupling between plugins.

Definition at line 55 of file discoveryPlugin.h.

Member Function Documentation

◆ GetSourceType()

virtual NDR_API TfToken GetSourceType ( const TfToken discoveryType) const
pure virtual

Returns the source type associated with the discovery type.

This may return an empty token if there is no such association.


The documentation for this class was generated from the following file: