MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / createInstance

Method createInstance

TimeOffset/TimeOffset.cpp:322–327  ·  view source on GitHub ↗

@brief The create instance function, the plugin must return an object derived from the \ref ImageEffect class */

Source from the content-addressed store, hash-verified

320
321/** @brief The create instance function, the plugin must return an object derived from the \ref ImageEffect class */
322ImageEffect*
323TimeOffsetPluginFactory::createInstance(OfxImageEffectHandle handle,
324 ContextEnum /*context*/)
325{
326 return new TimeOffsetPlugin(handle);
327}
328
329static TimeOffsetPluginFactory p(kPluginIdentifier, kPluginVersionMajor, kPluginVersionMinor);
330mRegisterPluginFactoryInstance(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected