Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/PluginManager.cpp
EMStudioPlugin* PluginManager::FindActivePlugin(uint32 classID) const
    {
        const auto foundPlugin = AZStd::find_if(begin(m_activePlugins), end(m_activePlugins), [classID](const EMStudioPlugin* plugin)
        {
            return plugin->GetClassID() == classID;
        });
        return foundPlugin != end(m_activePlugins) ? *foundPlugin : nullptr;
    }
// find the first active plugin of a given type
find the first active plugin of a given type
find the first active plugin of a given type
EMStudioPlugin* PluginManager::FindActivePlugin(uint32 classID) const
    {
        const auto foundPlugin = AZStd::find_if(begin(m_activePlugins), end(m_activePlugins), [classID](const EMStudioPlugin* plugin)
        {
            return plugin->GetClassID() == classID;
        });
        return foundPlugin != end(m_activePlugins) ? *foundPlugin : nullptr;
    }
EMStudioPlugin * PluginManager :: FindActivePlugin ( uint32 classID ) const { const auto foundPlugin = AZStd :: find_if ( begin ( m_activePlugins ) , end ( m_activePlugins ) , [ classID ] ( const EMStudioPlugin * plugin ) { return plugin -> GetClassID ( ) == classID ; } ) ; return foundPlugin != end ( m_activePlugins ) ? * foundPlugin : nullptr ; }
find the first active plugin of a given type
find the first active plugin of a given type