Go to the documentation of this file.
27 #ifndef _AK_MIXERINPUTMAP_H_
28 #define _AK_MIXERINPUTMAP_H_
61 template <
class KEY,
class USER_DATA>
72 template <
class KEY,
class USER_DATA>
73 class AkMixerInputMap :
public AkArray<AkInputMapSlot<KEY, USER_DATA>, const AkInputMapSlot<KEY, USER_DATA>&, AkPluginArrayAllocator>
90 return (*it).pUserData;
97 if ( pSlot->pUserData )
100 return pSlot->pUserData;
112 if ( it != BaseClass::End() )
116 BaseClass::EraseSwap( it );
125 if ((*in_rIter).pUserData)
129 return BaseClass::EraseSwap(in_rIter);
135 if ( BaseClass::m_pItems )
139 BaseClass::m_pItems = 0;
140 BaseClass::m_ulReserved = 0;
148 mapSlot.
key = in_key;
149 return BaseClass::FindEx( mapSlot );
159 (*it).~AkInputMapSlot();
161 BaseClass::m_uLength = 0;
165 #endif // _AK_MIXERINPUTMAP_H_
AkForceInline void AK_PLUGIN_DELETE(AK::IAkPluginMemAlloc *in_pAllocator, T *in_pObject)
AkForceInline AK::IAkPluginMemAlloc * GetAllocator()
#define AK_PLUGIN_NEW(_allocator, _what)
Specific implementation of array.
void RemoveLast()
Removes the last item from the array.
#define AKASSERT(Condition)
Iterator End() const
Returns the iterator to the end of the array.
AkForceInline AkInputMapSlot< KEY, USER_DATA > * AddLast()
AkForceInline void Free(void *in_pAddress)
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