Wwise SDK 2018.1.11
Version
menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2018.1.11.6987 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
link
AkArray.h
Go to the documentation of this file.
60 AkForceInline void TransferMem(void ** io_pDest, AkArrayAllocatorNoAlign<U_POOL> in_srcAlloc, void * in_pSrc )
79 AkForceInline void TransferMem(void ** io_pDest, AkArrayAllocatorAlignedSimd<U_POOL> in_srcAlloc, void * in_pSrc )
87 // Attempts to allocate from a small buffer of size uBufferSizeBytes, which is contained within the array type. Useful if the array is expected to contain a small number of elements.
88 // If the array grows to a larger size than uBufferSizeBytes, the the memory is allocated from the default memory pool.
109 AkForceInline void TransferMem(void ** io_pDest, AkHybridAllocator<uBufferSizeBytes, uAlignmentSize>& in_srcAlloc, void * in_pSrc)
128 // By default the assignment operator is invoked to move elements of an array from slot to slot. If desired,
129 // a custom 'Move' operation can be passed into TMovePolicy to transfer ownership of resources from in_Src to in_Dest.
149 typedef AkArrayAllocatorAlignedSimd<_ArrayPoolLEngineDefault> ArrayPoolLEngineDefaultAlignedSimd;
152 template <class T, class ARG_T, class TAlloc = ArrayPoolDefault, unsigned long TGrowBy = 1, class TMovePolicy = AkAssignmentMovePolicy<T> > class AkArray : public TAlloc
329 /// Erase the specified iterator in the array. but it dos not guarantee the ordering in the array.
AkForceInline void * Alloc(size_t in_uSize)
Definition: AkArray.h:69
T * Exists(ARG_T in_Item) const
Returns a pointer to the specified item in the list if it exists, 0 if not found.
Definition: AkArray.h:401
AK_ALIGN(char m_buffer[uBufferSizeBytes], uAlignmentSize)
Iterator FindEx(ARG_T in_Item) const
Returns the iterator th the specified item, will be End() if the item is not found.
Definition: AkArray.h:249
AKRESULT __cdecl Free(AkMemPoolId in_poolId, void *in_pMemAddress)
bool operator==(const Iterator &in_rOp) const
== operator</div>
Definition: AkArray.h:219
AKRESULT Copy(const AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > &in_rSource)
Definition: AkArray.h:626
static const AkUInt32 _uBufferSizeBytes
Definition: AkArray.h:93
AkArrayAllocatorNoAlign< _ArrayPoolDefault > ArrayPoolDefault
Definition: AkArray.h:147
AkForceInline AkUInt32 Length() const
Returns the numbers of items in the array.
Definition: AkArray.h:383
AKRESULT Remove(ARG_T in_rItem)
Removes the specified item if found in the array.
Definition: AkArray.h:463
Iterator & operator--()
– operator</div>
Definition: AkArray.h:204
AkForceInline void AkMemCpy(void *pDest, const void *pSrc, AkUInt32 uSize)
Platform Independent Helper.
Definition: AkPlatformFuncs.h:330
AkArrayAllocatorNoAlign< _ArrayPoolLEngineDefault > ArrayPoolLEngineDefault
Definition: AkArray.h:148
Definition: AkArray.h:138
#define AK_SIMD_ALIGNMENT
Platform-specific alignment requirement for SIMD data.
Definition: AkTypes.h:66
AkForceInline void TransferMem(void **io_pDest, AkArrayAllocatorNoAlign< U_POOL > in_srcAlloc, void *in_pSrc)
Definition: AkArray.h:60
AkForceInline void TransferMem(void **io_pDest, AkArrayAllocatorAlignedSimd< U_POOL > in_srcAlloc, void *in_pSrc)
Definition: AkArray.h:79
AKRESULT Reserve(AkUInt32 in_ulReserve)
Pre-Allocate a number of spaces in the array.
Definition: AkArray.h:351
AKRESULT __cdecl Falign(AkMemPoolId in_poolId, void *in_pMemAddress)
AkForceInline void TransferMem(void **io_pDest, AkHybridAllocator< uBufferSizeBytes, uAlignmentSize > &in_srcAlloc, void *in_pSrc)
Definition: AkArray.h:109
AkForceInline bool IsEmpty() const
Returns true if the number items in the array is 0, false otherwise.
Definition: AkArray.h:395
Iterator Begin() const
Returns the iterator to the first item of the array, will be End() if the array is empty.
Definition: AkArray.h:233
void Transfer(AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > &in_rSource)
Definition: AkArray.h:613
void *__cdecl Malign(AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
void *__cdecl Malloc(AkMemPoolId in_poolId, size_t in_uSize)
static AkForceInline void Move(T &in_Dest, T &in_Src)
Definition: AkArray.h:130
T * AddLast(ARG_T in_rItem)
Add an item in the array, and fills it with the provided item.
Definition: AkArray.h:438
Definition: AkArray.h:48
AkMemPoolId g_LEngineDefaultPoolId
Iterator Erase(Iterator &in_rIter)
Erase the specified iterator from the array.
Definition: AkArray.h:290
Definition: AkArray.h:91
Iterator & operator++()
++ operator</div>
Definition: AkArray.h:196
Definition: AkArray.h:126
static AkForceInline void Move(T &in_Dest, T &in_Src)
Definition: AkArray.h:140
AkUInt32 operator-(Iterator const &rhs) const
Definition: AkArray.h:189
AkArrayAllocatorAlignedSimd< _ArrayPoolLEngineDefault > ArrayPoolLEngineDefaultAlignedSimd
Definition: AkArray.h:149
bool operator !=(const Iterator &in_rOp) const
!= operator</div>
Definition: AkArray.h:225
AkForceInline T & operator[](unsigned int uiIndex) const
Operator [], return a reference to the specified index.
Definition: AkArray.h:498
AkMemPoolId g_DefaultPoolId
AkForceInline T * Data() const
Returns a pointer to the first item in the array.
Definition: AkArray.h:389
AkForceInline void Free(void *in_pAddress)
Definition: AkArray.h:74
Definition: AkArray.h:67
Cette page a-t-elle été utile ?
Besoin d'aide ?
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideDécrivez-nous de votre projet. Nous sommes là pour vous aider.
Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise