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.


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