All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
chaserRegistry.h File Reference
+ Include dependency graph for chaserRegistry.h:

Go to the source code of this file.

Classes

class  UsdMayaChaserRegistry
 Registry for chaser plugins. More...
 
class  UsdMayaChaserRegistry::FactoryContext
 Holds data that can be accessed when constructing a UsdMayaChaser object. More...
 

Macros

#define PXRUSDMAYA_DEFINE_CHASER_FACTORY(name, contextArgName)
 define a factory for the chaser name. More...
 

Functions

 TF_DECLARE_WEAK_PTRS (UsdMayaChaserRegistry)
 

Macro Definition Documentation

#define PXRUSDMAYA_DEFINE_CHASER_FACTORY (   name,
  contextArgName 
)
Value:
static UsdMayaChaser* _ChaserFactory_##name(const UsdMayaChaserRegistry::FactoryContext&); \
UsdMayaChaserRegistry::GetInstance().RegisterFactory(#name, &_ChaserFactory_##name); \
}\
UsdMayaChaser* _ChaserFactory_##name(const UsdMayaChaserRegistry::FactoryContext& contextArgName)
base class for plugin chasers which are plugins that run after the core usdExport out of maya...
Definition: chaser.h:58
#define TF_REGISTRY_FUNCTION_WITH_TAG(KEY_TYPE, TAG)
Define a function that is called on demand by TfRegistryManager.
Holds data that can be accessed when constructing a UsdMayaChaser object.
Registry for chaser plugins.

define a factory for the chaser name.

the contextArgName will be type UsdMayaChaserRegistry::FactoryContext . The following code block should return a UsdMayaChaser*. There are no guarantees about the lifetime of contextArgName.

Definition at line 139 of file chaserRegistry.h.