版本

    其他文档

menu_open
Wwise SDK 2018.1.11
AkMixerInputMap< USER_DATA > 模板类 参考

AkMixerInputMap: Map of inputs (identified with AK::IAkMixerInputContext *) to user-defined blocks of data. 更多...

类 AkMixerInputMap< USER_DATA > 继承关系图:
AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, 1 > AkPluginArrayAllocator

Public 类型

typedef AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, 1 >  BaseClass
 

Public 成员函数

USER_DATA *  Exists (AK::IAkMixerInputContext *in_pInput)
  Returns the user data associated with given input context. Returns NULL if none found. 更多...
 
USER_DATA *  AddInput (AK::IAkMixerInputContext *in_pInput)
  Adds an input with new user data. 更多...
 
bool  RemoveInput (AK::IAkMixerInputContext *in_pInput)
  Removes an input and destroys its associated user data. 更多...
 
void  Term ()
  Terminate array. 更多...
 
AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, 1 >::Iterator  FindEx (AK::IAkMixerInputContext *in_pInput) const
  Finds an item in the array. 更多...
 
void  RemoveAll ()
  Removes and destroys all items in the array. 更多...
 
- Public 成员函数 继承自 AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, 1 >
  AkArray ()
  Constructor 更多...
 
  ~AkArray ()
  Destructor 更多...
 
Iterator  Begin () const
  Returns the iterator to the first item of the array, will be End() if the array is empty. 更多...
 
Iterator  End () const
  Returns the iterator to the end of the array 更多...
 
Iterator  FindEx (const AkInputMapSlot< USER_DATA > & in_Item) const
  Returns the iterator th the specified item, will be End() if the item is not found 更多...
 
Iterator  BinarySearch (const AkInputMapSlot< USER_DATA > & in_Item) const
 
Iterator  Erase (Iterator &in_rIter)
  Erase the specified iterator from the array 更多...
 
void  Erase (unsigned int in_uIndex)
  Erase the item at the specified index 更多...
 
Iterator  EraseSwap (Iterator &in_rIter)
 
AKRESULT  Reserve (AkUInt32 in_ulReserve)
  Pre-Allocate a number of spaces in the array 更多...
 
AkUInt32  Reserved () const
 
void  Term ()
  Term the array. Must be called before destroying the object. 更多...
 
AkForceInline AkUInt32  Length () const
  Returns the numbers of items in the array. 更多...
 
AkForceInline AkInputMapSlot< USER_DATA > *  Data () const
  Returns a pointer to the first item in the array. 更多...
 
AkForceInline bool  IsEmpty () const
  Returns true if the number items in the array is 0, false otherwise. 更多...
 
AkInputMapSlot< USER_DATA > *  Exists (const AkInputMapSlot< USER_DATA > & in_Item) const
  Returns a pointer to the specified item in the list if it exists, 0 if not found. 更多...
 
AkInputMapSlot< USER_DATA > *  AddLast ()
 
AkInputMapSlot< USER_DATA > *  AddLast (const AkInputMapSlot< USER_DATA > & in_rItem)
  Add an item in the array, and fills it with the provided item. 更多...
 
AkInputMapSlot< USER_DATA > &  Last ()
  Returns a reference to the last item in the array. 更多...
 
void  RemoveLast ()
  Removes the last item from the array. 更多...
 
AKRESULT  Remove (const AkInputMapSlot< USER_DATA > & in_rItem)
  Removes the specified item if found in the array. 更多...
 
AKRESULT  RemoveSwap (const AkInputMapSlot< USER_DATA > & in_rItem)
 
void  RemoveAll ()
  Removes all items in the array 更多...
 
AkForceInline AkInputMapSlot< USER_DATA > &  operator[] (unsigned int uiIndex) const
  Operator [], return a reference to the specified index. 更多...
 
AkInputMapSlot< USER_DATA > *  Insert (unsigned int in_uIndex)
 
bool  GrowArray (AkUInt32 in_uGrowBy=TGrowBy)
  Resize the array. 更多...
 
bool  Resize (AkUInt32 in_uiSize)
  Resize the array to the specified size. 更多...
 
void  Transfer (AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, TGrowBy, AkAssignmentMovePolicy< AkInputMapSlot< USER_DATA > > > &in_rSource)
 
AKRESULT  Copy (const AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, TGrowBy, AkAssignmentMovePolicy< AkInputMapSlot< USER_DATA > > > &in_rSource)
 
- Public 成员函数 继承自 AkPluginArrayAllocator
AkForceInline  AkPluginArrayAllocator ()
 
AkForceInline void  Init (AK::IAkPluginMemAlloc *in_pAllocator)
 

额外继承的成员函数

- Protected 成员函数 继承自 AkPluginArrayAllocator
AkForceInline void *  Alloc (size_t in_uSize)
 
AkForceInline void  Free (void *in_pAddress)
 
AkForceInline AK::IAkPluginMemAlloc GetAllocator ()
 
- Protected 属性 继承自 AkArray< AkInputMapSlot< USER_DATA >, const AkInputMapSlot< USER_DATA > &, AkPluginArrayAllocator, 1 >
AkInputMapSlot< USER_DATA > *  m_pItems
  pointer to the beginning of the array. 更多...
 
AkUInt32  m_uLength
  number of items in the array. 更多...
 
AkUInt32  m_ulReserved
  how many we can have at most (currently allocated). 更多...
 

详细描述

template<class USER_DATA>
class AkMixerInputMap< USER_DATA >

AkMixerInputMap: Map of inputs (identified with AK::IAkMixerInputContext *) to user-defined blocks of data.

在文件 AkMixerInputMap.h89 行定义.


该类的文档由以下文件生成:

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅