Version

menu_open
Wwise SDK 2023.1.3
AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance > Class Template Reference

PluginInfoGenerator: Base class for every C++ instance that retrieves a service from the Wwise Authoring host. More...

#include <PluginInfoGenerator.h>

Inheritance diagram for AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance >:
ak_wwise_plugin_cpp_base_instance

Public Types

enum  : InterfaceTypeValue { k_interfaceType = CPPInstance::k_interfaceType }
 
enum  : InterfaceVersion { k_interfaceVersion = CPPInstance::k_interfaceVersion }
 
using GluedInterface = typename CPPInstance::GluedInterface
 
using Instance = CPPInstance
 
using CInstance = typename CPPInstance::Instance
 

Static Public Attributes

static GluedInterface g_cppinterface
 The unique interface for this plug-in interface. More...
 

Detailed Description

template<typename CPPInstance, bool in_baseInstance>
class AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance >

PluginInfoGenerator: Base class for every C++ instance that retrieves a service from the Wwise Authoring host.

Compared to C, where the interface contains all the functions and the instance is an opaque block, the C++ version is the opposite; the instance is a class containing all the methods, and the interface is hidden as implementation details.

The HostInterfaceGlue helper class provides that distinction. Depending on the in_baseInstance parameter, it will either have only a C interface (true) or also have its default instantiation (false).

Template Parameters
CPPInstanceThe C++ instance to instantiate.
in_baseInstanceOnly provide a bridge (true) or also a default instance (false).
See also

Definition at line 126 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