版本

menu_open
Wwise SDK 2023.1.3
AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface > 模板类 参考

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

#include <PluginInfoGenerator.h>

类 AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface > 继承关系图:
AK.Wwise::Plugin::CBaseInstanceGlue< CInterface, CInstance >

Public 类型

using GluedInterface = CInterface
 

静态 Public 属性

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

详细描述

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.

模板参数
CInterfaceWhich interface (In C)
参见

在文件 PluginInfoGenerator.h85 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅