OROCHI
 
Loading...
Searching...
No Matches
GxLockFreeQueue< T, ALLOCATOR > Class Template Reference

キュー (ロック不要) More...

#include <GxLockFreeQueue.h>

Classes

struct  Node
 ノード (単方向リスト) More...
 

Public Member Functions

操作
b32 enqueue (const T &src)
 エンキュー
 
b32 dequeue (T &dst)
 デキュー
 
アクセサ
b32 isEmpty (void) const
 キュー空判定
 
u32 getCount (void) const
 データ数を取得
 

初期化

 GxLockFreeQueue (void)
 コンストラクタ
 
 ~GxLockFreeQueue (void)
 デストラクタ
 
b32 initialize (u32 queueMax)
 初期化
 
void terminate (void)
 終了
 

Detailed Description

template<class T, GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
class GxLockFreeQueue< T, ALLOCATOR >

キュー (ロック不要)

Member Function Documentation

◆ dequeue()

template<class T , GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
b32 GxLockFreeQueue< T, ALLOCATOR >::dequeue ( T & dst)

デキュー

Parameters
dst[out] 格納先
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enqueue()

template<class T , GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
b32 GxLockFreeQueue< T, ALLOCATOR >::enqueue ( const T & src)

エンキュー

Parameters
src[in] 格納元
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCount()

template<class T , GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
u32 GxLockFreeQueue< T, ALLOCATOR >::getCount ( void ) const

データ数を取得

Returns
データ数
Here is the caller graph for this function:

◆ initialize()

template<class T , GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
b32 GxLockFreeQueue< T, ALLOCATOR >::initialize ( u32 queueMax)

初期化

Parameters
queueMax[in] キューイング最大数
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEmpty()

template<class T , GxAllocatorList::ALLOCATOR_TYPE ALLOCATOR>
b32 GxLockFreeQueue< T, ALLOCATOR >::isEmpty ( void ) const

キュー空判定

Returns
空ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: