28 #ifndef _AK_MIXERINPUTMAP_H_
29 #define _AK_MIXERINPUTMAP_H_
62 template <
class USER_DATA>
88 template <
class USER_DATA>
89 class AkMixerInputMap :
public AkArray<AkInputMapSlot<USER_DATA>, const AkInputMapSlot<USER_DATA>&, AkPluginArrayAllocator, 1>
106 return (*it).pUserData;
113 if ( pSlot->pUserData )
115 pSlot->pContext = in_pInput;
116 return pSlot->pUserData;
128 if ( it != BaseClass::End() )
132 BaseClass::EraseSwap( it );
141 if ( BaseClass::m_pItems )
145 BaseClass::m_pItems = 0;
146 BaseClass::m_ulReserved = 0;
155 return BaseClass::FindEx( mapSlot );
165 (*it).~AkInputMapSlot();
167 BaseClass::m_uLength = 0;
171 #endif // _AK_MIXERINPUTMAP_H_
#define AK_PLUGIN_NEW(_allocator, _what)
Specific implementation of array.
#define AK_PLUGIN_ALLOC(_allocator, _size)
AkInputMapSlot< USER_DATA > * AddLast()
#define AKASSERT(Condition)
Iterator End() const
Returns the iterator to the end of the array.
Interface to retrieve information about an input of a mixer.
AkForceInline AkPluginArrayAllocator()
AkForceInline void Init(AK::IAkPluginMemAlloc *in_pAllocator)
#define AK_PLUGIN_FREE(_allocator, _pvmem)
AkForceInline void * Alloc(size_t in_uSize)
AkForceInline AK::IAkPluginMemAlloc * GetAllocator()
void RemoveLast()
Removes the last item from the array.
AkForceInline void Free(void *in_pAddress)
AkForceInline void AK_PLUGIN_DELETE(AK::IAkPluginMemAlloc *in_pAllocator, T *in_pObject)