Table des matières

AKPLATFORM Namespace Reference

Functions

void  AkGetDefaultHighPriorityThreadProperties (AkThreadProperties &out_threadProperties)
void  PerformanceFrequency (AkInt64 *out_piFreq)
  Platform Independent Helper.
void  OutputDebugMsg (const char *in_pszMsg)
  Output a debug message on the console (Ansi string).
AkInt32  AkInterlockedIncrement (AkAtomic32 *pValue)
  Platform Independent Helper.
AkInt32  AkInterlockedDecrement (AkAtomic32 *pValue)
  Platform Independent Helper.
bool  AkInterlockedCompareExchange (volatile AkAtomic32 *io_pDest, AkInt32 in_newValue, AkInt32 in_expectedOldVal)
bool  AkInterlockedCompareExchange (volatile AkAtomic64 *io_pDest, AkInt64 in_newValue, AkInt64 in_expectedOldVal)
void  AkMemoryBarrier ()
void  PerformanceCounter (AkInt64 *out_piLastTime)
  Platform Independent Helper.
template<class destType , class srcType >
size_t  AkSimpleConvertString (destType *in_pdDest, const srcType *in_pSrc, size_t in_MaxSize, size_t destStrLen(const destType *), size_t srcStrLen(const srcType *))
void  AkCreateThread (AkThreadRoutine pStartRoutine, void *pParams, const AkThreadProperties &in_threadProperties, AkThread *out_pThread, const char *)
  Platform Independent Helper.
size_t  AkUtf16StrLen (const AkUtf16 *in_pStr)
void  AkClearEvent (AkEvent &out_event)
  Platform Independent Helper.
AKRESULT  AkCreateEvent (AkEvent &out_event)
  Platform Independent Helper.
AKRESULT  AkCreateSemaphore (AkSemaphore &out_semaphore, AkUInt32 in_initialCount)
void  AkDestroyEvent (AkEvent &io_event)
  Platform Independent Helper.
void  AkDestroySemaphore (AkSemaphore &io_semaphore)
  Platform Independent Helper.
void  AkWaitForEvent (AkEvent &in_event)
  Platform Independent Helper.
void  AkWaitForSemaphore (AkSemaphore &in_semaphore)
void  AkSignalEvent (const AkEvent &in_event)
  Platform Independent Helper.
void  AkReleaseSemaphore (const AkSemaphore &in_event)
AkForceInline bool  AkInterlockedCompareExchange (volatile AkAtomicPtr *io_pDest, AkIntPtr in_newValue, AkIntPtr in_expectedOldVal)
template<class destType , class srcType >
size_t  AkMacConvertString (destType *in_pdDest, const srcType *in_pSrc, size_t in_MaxSize, size_t destStrLen(const destType *), size_t srcStrLen(const srcType *))
AkForceInline void  OutputDebugMsg (const wchar_t *in_pszMsg)
  Output a debug message on the console (Unicode string).
AkForceInline bool  AkIsValidEvent (const AkEvent &in_event)
AkForceInline AKRESULT  AkCreateNamedEvent (AkEvent &out_event, const char *in_szName)
AkForceInline bool  AkIsValidThread (AkThread *in_pThread)
  Platform Independent Helper.
AkForceInline void  AkClearThread (AkThread *in_pThread)
  Platform Independent Helper.
AkForceInline void  AkCloseThread (AkThread *in_pThread)
  Platform Independent Helper.
AkForceInline void  AkGetDefaultThreadProperties (AkThreadProperties &out_threadProperties)
  Platform Independent Helper.
AkForceInline void  AkWaitForSingleThread (AkThread *in_pThread)
  Platform Independent Helper.
AkThreadID  CurrentThread ()
  Returns the calling thread's ID.
AkForceInline void  AkSleep (AkUInt32 in_ulMilliseconds)
  Platform Independent Helper.
AkForceInline void  AkMemCpy (void *pDest, const void *pSrc, AkUInt32 uSize)
  Platform Independent Helper.
AkForceInline void  AkMemSet (void *pDest, AkInt32 iVal, AkUInt32 uSize)
  Platform Independent Helper.
AkForceInline void  UpdatePerformanceFrequency ()
  Platform Independent Helper.
AkForceInline AkReal32  Elapsed (const AkInt64 &in_iNow, const AkInt64 &in_iStart)
  Returns a time range in milliseconds, using the sound engine's updated count->milliseconds ratio.
AkForceInline AkInt32  AkWideCharToChar (const wchar_t *in_pszUnicodeString, AkUInt32 in_uiOutBufferSize, char *io_pszAnsiString)
  String conversion helper.
AkForceInline AkInt32  AkCharToWideChar (const char *in_pszAnsiString, AkUInt32 in_uiOutBufferSize, void *io_pvUnicodeStringBuffer)
  String conversion helper.
AkForceInline AkInt32  AkUtf8ToWideChar (const char *in_pszUtf8String, AkUInt32 in_uiOutBufferSize, void *io_pvUnicodeStringBuffer)
  String conversion helper.
AkForceInline void  SafeStrCpy (wchar_t *in_pDest, const wchar_t *in_pSrc, size_t in_uDestMaxNumChars)
  Safe unicode string copy.
AkForceInline void  SafeStrCpy (char *in_pDest, const char *in_pSrc, size_t in_uDestMaxNumChars)
  Safe ansi string copy.
AkForceInline void  SafeStrCat (wchar_t *in_pDest, const wchar_t *in_pSrc, size_t in_uDestMaxNumChars)
  Safe unicode string concatenation.
AkForceInline void  SafeStrCat (char *in_pDest, const char *in_pSrc, size_t in_uDestMaxNumChars)
  Safe ansi string concatenation.
AkForceInline size_t  OsStrLen (const AkOSChar *in_pszString)
AkForceInline int  OsStrCmp (const AkOSChar *in_pszString1, const AkOSChar *in_pszString2)
AkForceInline void  AkSignalEvent (AkEvent &in_event)
  Platform Independent Helper.
AkInt32  AkInterlockedIncrement (volatile AkInt32 *pValue)
  Platform Independent Helper.
AkInt32  AkInterlockedDecrement (volatile AkInt32 *pValue)
  Platform Independent Helper.
AkForceInline bool  AkInterlockedCompareExchange (volatile AkInt32 *io_pDest, AkInt32 in_newValue, AkInt32 in_expectedOldVal)
AkForceInline bool  AkInterlockedCompareExchange (volatile AkInt64 *io_pDest, AkInt64 in_newValue, AkInt64 in_expectedOldVal)
void  AkSetThreadName (DWORD in_dwThreadID, LPCSTR in_szThreadName)
  Set the name of a thread: see http://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx.