版本

menu_open
Wwise SDK 2023.1.3
AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance > 模板类 参考

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

#include <PluginInfoGenerator.h>

类 AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance > 继承关系图:
ak_wwise_plugin_cpp_base_instance

Public 类型

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
 

静态 Public 属性

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

详细描述

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).

模板参数
CPPInstanceThe C++ instance to instantiate.
in_baseInstanceOnly provide a bridge (true) or also a default instance (false).
参见

在文件 PluginInfoGenerator.h126 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅