Version

menu_open
Wwise SDK 2023.1.4
AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface > Class Template Reference

PluginInfoGenerator: For each plug-in interface type, provides a single static instance used throughout this plug-in container. More...

#include <PluginInfoGenerator.h>

Inheritance diagram for AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface >:
AK.Wwise::Plugin::CBaseInstanceGlue< CInterface, CInstance >

Public Types

using GluedInterface = CInterface
 

Static Public Attributes

static GluedInterfaceg_cinterface = nullptr
 The unique instance of the CInterface interface. Defined at nullptr first, overridden by the Host once loaded. More...
 

Detailed Description

template<typename CInterface>
class AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface >

PluginInfoGenerator: For each plug-in interface type, provides a single static instance used throughout this plug-in container.

This uses a C++ template principle where you can define a static variable inside a templated class, and you can have the compiler generate one unique static instance for each individual templated class.

Also, having a class outer shell means the static member can reside in a header and be instantiated in that same header without the linker refusing multiple definitions.

Template Parameters
CInterfaceWhich interface (In C)
See also

Definition at line 85 of file PluginInfoGenerator.h.


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