getModuleFilename#

Fully qualified name: omni::core::getModuleFilename

Defined in omni/core/ModuleInfo.h

inline std::string omni::core::getModuleFilename(
omni::core::IObject *obj,
)#

Given an object, returns the name of the module (.dll/.exe) which contains the object’s code.

Parameters:

obj[in] The object to retrieve the module name for. This may not be nullptr.

Returns:

The name and path of the library that the given object’s owning implementation comes from. Returns an empty string if the object isn’t bound to any particular library.