Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2021.1.14.8108 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2021.1.14
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 GluedInterface g_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
CInterface Which interface (In C)
See also

Definition at line 86 of file PluginInfoGenerator.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise