バージョン

    その他のドキュメント

menu_open
Wwise SDK 2023.1.2
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 >

公開型

using GluedInterface = CInterface
 

静的公開変数類

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からはじめよう