Version

menu_open
AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::InterfaceInfo< in_interfaceType > Struct Template Reference

Compile-time dictionary about a particular interface type. More...

#include <PluginInfoGenerator.h>

Classes

struct  ToInterfaceClassImpl
 Casts the plug-in class to the requested interface class. More...
 
struct  VersionPack
 Compile-time container of version numbers. More...
 

Public Types

enum  { k_latestInterfaceVersion = LatestInterfaceVersion<in_interfaceType>::k_interfaceVersion }
 
enum  : bool
 
enum  { k_interfaceVersion = GetInterfaceVersion() }
 
using UsedInterfaceVersions = decltype(GetUsedInterfaceVersions())
 Pair type containing a VersionPack of the requested versions and a VersionPack of the provided versions of the interface. More...
 
using RequestedInterfaceVersions = typename UsedInterfaceVersions::first_type
 VersionPack containing the requested versions of the interface by the plug-in. More...
 
using ProvidedInterfaceVersions = typename UsedInterfaceVersions::second_type
 VersionPack containing the provided versions of the interface by the plug-in. More...
 
using InterfaceClass = typename KnownInterfaceClass< in_interfaceType, k_interfaceVersion >::Type
 Interface class of the versioned interface type. More...
 
using ToInterfaceClass = ToInterfaceClassImpl< k_has >
 Casts the plug-in class to the requested interface class. More...
 

Static Public Member Functions

template<uint32_t in_interfaceVersion = k_latestInterfaceVersion, uint32_t... in_requestedVersions, uint32_t... in_providedVersions>
static constexpr auto GetUsedInterfaceVersions (VersionPack< in_requestedVersions... >={}, VersionPack< in_providedVersions... >={})
 Recursively accumulate each version of the interface requested or provided by the plug-in (there should be one or none). More...
 
static constexpr uint32_t GetInterfaceVersion ()
 Extract the version of the interface used by the plug-in. More...
 
static BaseInterfaceGetPlaceholderPointer ()
 Get a Placeholder Pointer object. More...
 

Detailed Description

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

Compile-time dictionary about a particular interface type.

Template Parameters
in_interfaceTypeThe interface ID with the information to request.

Definition at line 335 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