버전

menu_open
AK.Wwise::Plugin::PluginInfoGenerator< PluginT > 구조체 템플릿 참조

C++ PluginInfo Generator. 더 자세히 ...

#include <PluginInfoGenerator.h>

클래스

struct  GenerateConstructor
 Generates the constructor for our particular type 더 자세히 ...
 
struct  GenerateConstructorArray
 Recursively generates the constructors and interface pointer updater for all the Interfaces. 더 자세히 ...
 
struct  InterfaceInfo
 Compile-time dictionary about a particular interface type. 더 자세히 ...
 

Public 타입

enum  : size_t { k_interfaceCount = CountInterfaces() }
 

Public 멤버 함수

 PluginInfoGenerator (PluginRegistration *in_pluginRegistration, uint32_t in_pluginFlags=0)
 
 PluginInfoGenerator (const AkUInt32 *in_companyID, const AkUInt32 *in_pluginID, const AkPluginType *in_pluginType, uint32_t in_pluginFlags=0)
 
 ~PluginInfoGenerator ()=default
 

정적 Public 멤버 함수

template<InterfaceType in_interface = (InterfaceType)(AK_WWISE_PLUGIN_INTERFACE_TYPE_NUM - 1)>
static constexpr size_t CountInterfaces ()
 Count the number of interfaces we are currently using. 더 자세히 ...
 
template<InterfaceType in_interfaceType>
static constexpr InterfaceArrayItem GenerateInterface ()
 Generates the InterfaceArrayItem for our particular type. 더 자세히 ...
 
template<InterfaceType in_interfaceType>
static constexpr void GenerateInterfaceArray (InterfaceArrayItem out_interfaces[k_interfaceCount], int in_count, InterfaceArrayItem)
 Recursively generates an interface array of all the Interfaces pointers. 더 자세히 ...
 
static constexpr InterfaceArrayItemGenerateInterfaceArray (InterfaceArrayItem out_interfaces[k_interfaceCount])
 
static InterfaceArrayItemInstantiate (PluginInfo *in_pluginInfo)
 Plug-in instance constructor, as shared with the host. 더 자세히 ...
 
static void Disembody (InterfaceArrayItem *in_instance)
 Plug-in instance destructor, as shared to the host. 더 자세히 ...
 

Public 속성

InterfaceArrayItem m_interfaceArray [k_interfaceCount]
 Array of all used interfaces for the plug-in. 더 자세히 ...
 
PluginInfo m_pluginInfo
 The unique m_pluginInfo used in the ak_wwise_plugin_container for that particular plug-in. 더 자세히 ...
 

상세한 설명

template<typename PluginT>
struct AK.Wwise::Plugin::PluginInfoGenerator< PluginT >

C++ PluginInfo Generator.

Retrieves the list of plug-in interfaces required by a plug-in through derivation, and automatically creates a related ak_wwise_plugin_info structure.

Compared to a manually generated C version, the generated structure is done through a function that fills all the required data. Since it's a static global function called only once, and contains only value stores, the cost is, so far, quite minimal.

템플릿 파라메터
PluginTThe plug-in class that needs to be instantiated in order to use that plug-in.

PluginInfoGenerator.h 파일의 327 번째 라인에서 정의되었습니다.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요