omni::core::InterfaceImplementationCreateFn
Defined in omni/core/ITypeFactory.h
-
using omni::core::InterfaceImplementationCreateFn = IObject*()
Function called by ITypeFactory to instantiate an implementation.
This “creation” function is one of the core principles behind ABI safety . By calling this simple function, we’re able to instantiate a complex implementation of an Omniverse interface. All of the details to instantiate this implementation are hidden behind this function. Since this function returns a pointer to an interface (IObject), the caller is not exposed to any of the implementation details needed to instantiate the interface.