Version

menu_open
Wwise SDK 2021.1.14

◆ ForEach()

template<typename Frontend = ak_wwise_plugin_frontend_instance, typename Functor >
void AK.Wwise::Plugin::V1::LinkFrontend::ForEach ( Functor  in_operation ) const
inline

Applies a function on each plug-in's frontend instances.

Note: The frontend instances passed to the function are temporary TLS pointers that are meant to be retrieved and processed immediately to execute commands. You should not store this data.
Template Parameters
Frontend Expected type of the frontend instances (optional). If no explicit type is provided, the caller needs to manually perform the cast to the expected frontend instance type. If an explicit type is provided, the frontend instances will automatically be casted to the provided type and then forwarded to in_operation if the cast was successful.
Parameters
[in] in_operation Function, functor or lambda taking a pointer of Frontend as parameter.

Definition at line 249 of file PluginLinks.h.

References AK.Wwise::Plugin::V1::LinkFrontend::GetArray().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise