OROCHI
 
Loading...
Searching...
No Matches
GxSysMain.h File Reference

メインループシステムクラス More...

#include "flag.h"
Include dependency graph for GxSysMain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GxMainInitialInformation
 初期化クラス More...
 
class  GxSysMain
 メインループシステムクラス More...
 
struct  GxSysMain::BootConfigEnumMap
 BootConfig 名前と値のマップ用。終端は _name == nullptr, _value はデフォルト値 More...
 
class  GxSysMain::GxSequentialThreadManagerMain
 同期スレッド管理クラス More...
 
class  GxSysMain::GxSequentialThreadManagerMainPrecede
 同期スレッド管理クラス(ジョブ先行開始対応) More...
 

Macros

#define GX_BOOTCONFIG_CURRENT_SECTION(_section)
 BootConfig マクロ
 
#define GX_BOOTCONFIG_STRING(_Type, _Name, _Index, _Value)
 _Type は _Value のタイプ
 
#define GX_BOOTCONFIG_UINT(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_INT(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_FLOAT(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_BOOL(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_BYTE(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_SIZE(_Type, _Name, _Index, _Value)
 
#define GX_BOOTCONFIG_ENUM(_Type, _Name, _Index, _Value, _enumMap)
 
#define GX_BOOTCONFIG_STRUCT_STRING(_Type, _StructBase, _NameValue)
 構造体の変数名とパラメータ名を同一として扱う
 
#define GX_BOOTCONFIG_STRUCT_UINT(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_INT(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_FLOAT(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_BOOL(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_BYTE(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_SIZE(_Type, _StructBase, _NameValue)
 
#define GX_BOOTCONFIG_STRUCT_ENUM(_Type, _StructBase, _NameValue, _enumMap)
 

Functions

GX_FORCE_INLINE GxSysMaingetGxSysMain (void)
 

Detailed Description

メインループシステムクラス

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Tahir Arai

Macro Definition Documentation

◆ GX_BOOTCONFIG_BOOL

#define GX_BOOTCONFIG_BOOL ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
b32 boolVal_BCFG_, boolDefaultVal_BCFG_ = (b32) _Value; \
getGxSysMain()->getBootConfigValueB32(_Name, _Index, &boolVal_BCFG_, boolDefaultVal_BCFG_); \
_Value = (_Type) boolVal_BCFG_; }
32bitブーリアン
Definition GxDefine.h:173

◆ GX_BOOTCONFIG_BYTE

#define GX_BOOTCONFIG_BYTE ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
u64 uiVal_BCFG_, uiDefaultVal_BCFG_ = (u64) _Value; \
getGxSysMain()->getBootConfigValueByte(_Name, _Index, &uiVal_BCFG_, uiDefaultVal_BCFG_); \
_Value = (_Type) uiVal_BCFG_; }

◆ GX_BOOTCONFIG_CURRENT_SECTION

#define GX_BOOTCONFIG_CURRENT_SECTION ( _section)
Value:
getGxSysMain()->setBootConfigReadSection(_section)
b32 setBootConfigReadSection(GX_CSTR name)
アクセス先のセクションを設定。存在した場合は true を返す
Definition GxSysMain.cpp:4200

BootConfig マクロ

◆ GX_BOOTCONFIG_ENUM

#define GX_BOOTCONFIG_ENUM ( _Type,
_Name,
_Index,
_Value,
_enumMap )
Value:
{ \
u32 enumVal_BCFG_, enumDefaultVal_BCFG_ = _Value; \
_enumMap[(sizeof(_enumMap)/sizeof(GxSysMain::BootConfigEnumMap))-1]._value = enumDefaultVal_BCFG_; \
getGxSysMain()->getBootConfigValueEnum(_Name, _Index, &enumVal_BCFG_, _enumMap); \
_Value = (_Type) enumVal_BCFG_; }
BootConfig 名前と値のマップ用。終端は _name == nullptr, _value はデフォルト値
Definition GxSysMain.h:363

◆ GX_BOOTCONFIG_FLOAT

#define GX_BOOTCONFIG_FLOAT ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
f64 fVal_BCFG_, fDefaultVal_BCFG_ = (f64) _Value; \
getGxSysMain()->getBootConfigValueF64(_Name, _Index, &fVal_BCFG_, fDefaultVal_BCFG_); \
_Value = (_Type) fVal_BCFG_; }

◆ GX_BOOTCONFIG_INT

#define GX_BOOTCONFIG_INT ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
s64 iVal_BCFG_, iDefaultVal_BCFG_ = (s64) _Value; \
getGxSysMain()->getBootConfigValueS64(_Name, _Index, &iVal_BCFG_, iDefaultVal_BCFG_); \
_Value = (_Type) iVal_BCFG_; }

◆ GX_BOOTCONFIG_SIZE

#define GX_BOOTCONFIG_SIZE ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
GxSize sizeVal_BCFG_, sizeDefaultVal_BCFG_ = _Value; \
getGxSysMain()->getBootConfigValueSize(_Name, _Index, &sizeVal_BCFG_, sizeDefaultVal_BCFG_); \
_Value = sizeVal_BCFG_; }
サイズ
Definition GxStruct.h:730

◆ GX_BOOTCONFIG_STRING

#define GX_BOOTCONFIG_STRING ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
GX_CSTR strVal_BCFG_, strDefaultVal_BCFG_ = (GX_CSTR) _Value; \
getGxSysMain()->getBootConfigValueString(_Name, _Index, &strVal_BCFG_, strDefaultVal_BCFG_); \
_Value = (_Type) strVal_BCFG_; }

_Type は _Value のタイプ

◆ GX_BOOTCONFIG_STRUCT_BOOL

#define GX_BOOTCONFIG_STRUCT_BOOL ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_BOOL(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_STRUCT_BYTE

#define GX_BOOTCONFIG_STRUCT_BYTE ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_BYTE(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_STRUCT_ENUM

#define GX_BOOTCONFIG_STRUCT_ENUM ( _Type,
_StructBase,
_NameValue,
_enumMap )
Value:
GX_BOOTCONFIG_ENUM(_Type, #_NameValue, 0, _StructBase._NameValue, _enumMap)

◆ GX_BOOTCONFIG_STRUCT_FLOAT

#define GX_BOOTCONFIG_STRUCT_FLOAT ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_FLOAT(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_STRUCT_INT

#define GX_BOOTCONFIG_STRUCT_INT ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_INT(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_STRUCT_SIZE

#define GX_BOOTCONFIG_STRUCT_SIZE ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_SIZE(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_STRUCT_STRING

#define GX_BOOTCONFIG_STRUCT_STRING ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_STRING(_Type, #_NameValue, 0, _StructBase._NameValue)
#define GX_BOOTCONFIG_STRING(_Type, _Name, _Index, _Value)
_Type は _Value のタイプ
Definition GxSysMain.h:1072

構造体の変数名とパラメータ名を同一として扱う

◆ GX_BOOTCONFIG_STRUCT_UINT

#define GX_BOOTCONFIG_STRUCT_UINT ( _Type,
_StructBase,
_NameValue )
Value:
GX_BOOTCONFIG_UINT(_Type, #_NameValue, 0, _StructBase._NameValue)

◆ GX_BOOTCONFIG_UINT

#define GX_BOOTCONFIG_UINT ( _Type,
_Name,
_Index,
_Value )
Value:
{ \
u64 uiVal_BCFG_, uiDefaultVal_BCFG_ = (u64) _Value; \
getGxSysMain()->getBootConfigValueU64(_Name, _Index, &uiVal_BCFG_, uiDefaultVal_BCFG_); \
_Value = (_Type) uiVal_BCFG_; }