ユニット連結リストクラス More...
#include <GxSysUnit.h>


Public Member Functions | |
初期化 | |
| GxListUnit (void) | |
| コンストラクタ | |
| ~GxListUnit (void) override | |
| デストラクタ | |
| b32 | initialize (u32 number) |
| 初期化 | |
アクセサ | |
| GX_INLINE const __type & | operator[] (u32 i) const |
| const配列 | |
| GX_INLINE __type & | operator[] (u32 i) |
| 配列 | |
| GX_FORCE_INLINE GxArray::Iterator< __type > | begin (void) const |
| 先頭を取得 | |
| GX_FORCE_INLINE GxArray::Iterator< __type > | end (void) const |
| 終端を取得 | |
| constexpr u32 | getNumber (void) const |
| リスト番号取得 | |
| GX_FORCE_INLINE void | setUpdate (b32 enable) |
| updateの設定 | |
| GX_FORCE_INLINE b32 | isUpdate (void) const |
| updateのON/OFFの判定 | |
| GX_FORCE_INLINE b32 | isRender (void) const |
| 描画のON/OFFの判定 | |
| constexpr void | setDeltaTimeFactor (f32 deltaTimeFactor) |
| デルタタイム係数を設定 | |
| constexpr f32 | getDeltaTimeFactor (void) const |
| デルタタイム係数を取得 | |
| constexpr void | setDeltaTime (f32 deltaTime) |
| デルタタイムを設定 | |
| constexpr f32 | getDeltaTime (void) const |
| デルタタイムを取得 | |
| constexpr void | setDeltaTimeRatio (f32 deltaTimeRatio) |
| デルタタイム比率を設定 | |
| constexpr f32 | getDeltaTimeRatio (void) const |
| デルタタイム比率を取得 | |
| GX_FORCE_INLINE b32 | isCheckToUpdateForceAsync (void) const |
| forceAsyncUpdateの処理リスト単位の更新チェックをするか判定 | |
| GX_FORCE_INLINE void | setCheckToUpdateForceAsync (b32 flag) |
| forceAsyncUpdateの処理リスト単位の更新チェックをするか設定 | |
操作 | |
先頭を取得 終端を取得 | |
| void | killAll (void) |
| ユニットを全て削除 | |
| void | setAttributeAll (GxUnitBase::ATTRIBUTE attribute, b32 enable) |
| アトリビュートを全て設定 | |
| void | setRenderAll (b32 enable) |
| 描画フラグを全て設定 | |
| void | setViewportAll (RENDER_VIEW view, b32 enable) |
| ビューポートに全て設定 | |
Public Member Functions inherited from GxArrayClassBase | |
| GxArrayClassBase (void) | |
| デフォルトコンストラクタ | |
| GxArrayClassBase (GxAllocatorList::ALLOCATOR_TYPE allocatorType) | |
| コンストラクタ | |
| ~GxArrayClassBase (void) override | |
| デストラクタ | |
| GX_FORCE_INLINE void | addTop (GxClassBaseRoot *pObject) |
| 先頭に追加 | |
| void | addBottom (GxClassBaseRoot *pObject) |
| 末尾に追加 | |
| void | insert (u32 index, GxClassBaseRoot *pObject) |
| 挿入 | |
| void | erase (GxClassBaseRoot *pObject) |
| 解放(nullptrにするだけ) | |
| virtual void | erase (u32 index) |
| 解放(nullptrにするだけ) | |
| void | eraseAll (void) |
| 全削除 | |
| void | eraseAllFast (void) |
| 全削除(要素をクリアしない高速版) | |
| void | remove (GxClassBaseRoot *pObject) |
| 削除(領域を詰める) | |
| void | removeFirst (GxClassBaseRoot *pObject) |
| 削除(領域を詰める、見つかったら終了) | |
| void | remove (u32 index) |
| 削除(領域を詰める) | |
| void | removeNullObject (void) |
| Objectがnullptrの領域を削除して詰める) | |
| GX_FORCE_INLINE void | removeAll (void) |
| 全削除 | |
| GxClassBaseRoot * | pop (void) |
| 末尾から取り出し | |
| s32 | findIndex (GxClassBaseRoot *pObject, u32 startIndex=0) const |
| オブジェクトのインデックスを返す | |
| constexpr __type & | operator[] (u32 i) const |
| const配列 | |
| constexpr __type & | operator[] (u32 i) |
| 配列 | |
| constexpr GxArray::Iterator< __type > | begin (void) const |
| 先頭を取得 | |
| constexpr GxArray::Iterator< __type > | end (void) const |
| 終端を取得 | |
| constexpr GxClassBaseRoot * | getObject (u32 index) const |
| オブジェクトの取得 | |
| virtual void | setObject (u32 index, GxClassBaseRoot *pObject) |
| オブジェクトの設定 | |
| constexpr u32 | getCount (void) const |
| 配列数を取得 | |
| void | setCount (u32 count) |
| 配列数を設定 | |
| constexpr u32 | getAllocCount (void) const |
| メモリ確保数を取得 | |
| void | setAllocCount (u32 count) |
| s32 | indexOf (GxClassBaseRoot *pObject) const |
| インデックスを取得 | |
Public Member Functions inherited from GxClassBase | |
| constexpr | GxClassBase (void) |
| コンストラクタ | |
| constexpr | GxClassBase (const GxClassBase &base) |
| コピーコンストラクタ | |
| ~GxClassBase (void) override | |
| デストラクタ | |
Public Member Functions inherited from GxClassBaseRoot | |
| constexpr | GxClassBaseRoot (void) |
| コンストラクタ | |
| constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ | |
| virtual | ~GxClassBaseRoot (void) |
| デストラクタ | |
| constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子 | |
| virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得 | |
| virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得 | |
| GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定 | |
定義 | |
| using | __type = GxUnitBase* |
| static constexpr u32 | LIST_DISCONNECT = GxMath::VALUE_64 - 1 |
| 未接続リスト | |
| static constexpr u32 | NAME_LENGTH = GxMath::VALUE_32 |
| リスト名の最大長 | |
Additional Inherited Members | |
Public Types inherited from GxArrayClassBase | |
| using | __type = GxClassBaseRoot* |
Static Public Member Functions inherited from GxClassBaseRoot | |
| static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得 | |
Static Public Attributes inherited from GxArrayClassBase | |
| static constexpr u32 | ALLOC_COUNT_FIRST = 8 |
| 初期の確保領域 | |
Protected Member Functions inherited from GxArrayClassBase | |
| virtual GxClassBaseRoot ** | allocateMemory (u32 size) |
| メモリ確保関数 | |
| virtual u32 | expandAllocCount (void) |
Protected Attributes inherited from GxArrayClassBase | |
| GxClassBaseRoot ** | _ppObject |
| 配列データ | |
| u32 | _allocCount |
| 確保した配列数 | |
| u32 | _count |
| 配列数 | |
| GxAllocatorList::ALLOCATOR_TYPE | _allocatorType |
| アロケータ種別 | |
ユニット連結リストクラス
| b32 GxSysUnit::GxListUnit::initialize | ( | u32 | number | ) |
初期化
| number | [in] リスト番号 |


| void GxSysUnit::GxListUnit::setAttributeAll | ( | GxUnitBase::ATTRIBUTE | attribute, |
| b32 | enable ) |
アトリビュートを全て設定
| attribute | [in] 属性 |
| enable | [in] 有効ならtrue |


| void GxSysUnit::GxListUnit::setRenderAll | ( | b32 | enable | ) |
描画フラグを全て設定
| enable | [in] 有効ならtrue |

| void GxSysUnit::GxListUnit::setViewportAll | ( | RENDER_VIEW | view, |
| b32 | enable ) |
ビューポートに全て設定
| view | [in] ビュー |
| enable | [in] 有効ならtrue |

